import React from 'react'; import { ErrorType, ErrorStyle } from './data'; import { ChangeHandler } from 'react-hook-form'; export interface IInputProps extends Omit, 'prefix' | 'size'> { error?: string | ErrorType | boolean; statusMessage?: { type: 'success' | 'warning'; message?: string; }; errorStyle?: ErrorStyle; prefix?: React.ReactNode; suffix?: React.ReactNode; selectDisabled?: boolean; description?: React.ReactNode; size?: 'small' | 'medium'; areaStyle?: Record; selectValue?: React.ReactNode; isSelect?: boolean; active?: boolean; formOnChange?: ChangeHandler; wrapClassName?: string; } /** * input base component * 해당 컴포넌트를 이용하여 기본적인 input 을 공용으로 생성 */ declare const Input: React.ForwardRefExoticComponent>; export default Input;