/* eslint-disable */
import React from 'react';
import { useDispatch } from 'react-redux';
import { Input } from 'antd';
import { useDiagnosticData } from '@/hooks/useDiagnosticData';

export const DiagnosisSection: React.FC = () => {
  const [impression, setImpression] = useDiagnosticData('impression');

  return (
    <div className="flex flex-col">
      <div className="flex justify-between items-center">
        <span className="label">影像诊断</span>
      </div>

      <Input.TextArea
        className="w-full border rounded"
        value={impression}
        onChange={(e) => setImpression(e.target.value)}
        placeholder="由用户输入"
        rows={4}
      />
    </div>
  );
};
