import React, { ReactNode } from 'react'; import { InputProps as BaseInputProps } from 'antd/lib/input'; import { Control, ControllerRenderProps } from 'react-hook-form'; export interface TextAreaProps extends Pick { className?: string; errorMsg?: string; control: Control; name: string; suffix?: string; prefix?: ReactNode; maxLength?: number; label?: string; previewText?: string; rows?: number; cy?: { input: string; suffix: string; prefix: string; placeholder: string; error: string; }; render?: (field: ControllerRenderProps) => React.ReactElement; } declare const Input: React.FC; export default Input;