import FieldLabel from "@/components/contactUs/FieldLabel";
import Field from "@/app/component/fields/Field";

const listIntensity = [
  { label: "شدید" },
  { label: "متوسط" },
  { label: "خفیف" },
];

function Content({ setData, data }) {
  const handleChange = (name, value) =>
    setData((prev) => ({ ...prev, [name]: value }));

  return (
    <div className="mt-[32px] md:mt-[36px] lg:mt-[40px] flex flex-col gap-[24px] md:gap-[28px] lg:gap-[32px] px-0 sm:px-[52px]">
      <FieldLabel title="نوع جراحی">
        <Field
          title=""
          type="text"
          name="type"
          isPlaceHolder={true}
          value={data?.type}
          handleChange={handleChange}
        />
      </FieldLabel>
      <FieldLabel title="نام بیمارستان">
        <Field
          title=""
          type="text"
          name="hospital"
          isPlaceHolder={true}
          value={data?.hospital}
          handleChange={handleChange}
        />
      </FieldLabel>
      <FieldLabel title="سال انجام جراحی">
        <Field
          title=""
          type="number"
          name="year"
          isPlaceHolder={true}
          value={data?.year}
          handleChange={handleChange}
        />
      </FieldLabel>
    </div>
  );
}

export default Content;
