import { Button, Card, Divider, Form, Input, Select, Space } from "antd"; import { DeleteOutlined, PlusOutlined } from "@ant-design/icons"; import { useTranslation } from "react-i18next"; const { Option } = Select; export default function PartsShopInfoEmailPresets() { const { t } = useTranslation(); const emailTypes = [ { value: "parts_order", label: t("bodyshop.labels.parts_order") }, { value: "parts_receipt", label: t("bodyshop.labels.parts_receipt") }, { value: "parts_notification", label: t("bodyshop.labels.parts_notification") } ]; return ( {(fields, { add, remove }) => ( <> {fields.map(({ key, name, ...restField }) => ( )} ); }