import cn from '../utils/cn'; type InputType = { type?: 'text' | 'number'; value?: string | number; className?: string | (() => string); onChange: (e: React.ChangeEvent) => void; placeholder?: string; min?: number; id?: string; onFocus?: () => void; }; const Input = ({ type = 'text', value, className, onChange, placeholder = 'Placeholder', min, id, onFocus, }: InputType) => { return ( ); }; export default Input;