@enable-tech/shared-types
Version:
This package represents the single source of truth of the Types being used in the codebase (front-end and back-end) of enable.tech, It is an organization-scoped package. So, all the development teams belonging to it can participate to enhance it.
27 lines • 889 B
TypeScript
import { RegisterOptions } from 'react-hook-form';
export interface I_CustomInputProps {
required?: boolean;
placeholder?: string;
nobg?: boolean;
disabled?: boolean;
registerFN: any;
registerOptions: RegisterOptions;
errors: any;
value?: any;
fieldName: string;
fieldLabel: string;
isReadOnly?: boolean;
step?: string;
onChange?: any;
onInvalid?: any;
getValues?: any;
watch?: any;
showPwEye?: boolean;
textAreaRow?: string;
defaultValue?: string;
icon?: any;
isHidden?: boolean;
type?: 'checkbox' | 'color' | 'date' | 'datetime-local' | 'email' | 'file' | 'hidden' | 'image' | 'month' | 'number' | 'password' | 'radio' | 'range' | 'reset' | 'search' | 'submit' | 'tel' | 'text' | 'time' | 'url' | 'week';
fieldtype: 'input' | 'select' | 'file' | 'textarea';
}
//# sourceMappingURL=index.d.ts.map