import ProInputCard from "components/ProInputCard/ProInputCard.tsx"; import ProPhoneInput from "components/ProPhoneInput"; import { selectCart, updateGiftDetails } from "features/order/orderSlice"; import { useTranslation } from "react-i18next"; import { useAppDispatch, useAppSelector } from "redux/hooks"; import { Checkbox, Form, Input } from "antd"; import styles from "./SenderformationCard.module.css"; import TextArea from "antd/es/input/TextArea"; import ProText from "components/ProText"; export default function SenderformationCard() { const { t } = useTranslation(); const dispatch = useAppDispatch(); const { giftDetails } = useAppSelector(selectCart); return (
{ dispatch(updateGiftDetails({ senderName: e.target.value })); }} /> { dispatch(updateGiftDetails({ senderPhone: e })); }} /> { dispatch(updateGiftDetails({ isSecret: e.target.checked })); }} > {t("cardDetails.keepMyNameSecret")}
); }