import {Input} from 'antd'; import {FC} from 'react'; import {Controller, UseControllerProps} from 'react-hook-form'; import Label from './Label'; import ModalFiledErrorTip from './ErrorTip'; type Props = { label: string; height: number; required?: boolean; placeholder?: string; } & UseControllerProps; const LDModalArea: FC = function({ control, name, label, placeholder, required, height, }) { return (
); }} />
); }; export default LDModalArea;