type InputFieldProps = { label: string; value: string; onChange: Function; placeholder?: string; classNames?: string; hasError?: boolean; } const InputField = ({ label = '', value = '', placeholder = '', onChange, hasError = false }: InputFieldProps) => { const labelStyle = 'mb-2 font-semibold inline-block text-sm text-gray-700 capitalize'; return (
onChange(event.target.value)} autoComplete="off" placeholder={placeholder} />
); }; export default InputField;