@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.
18 lines • 537 B
TypeScript
import { FieldErrors, RegisterOptions, UseFormGetValues, UseFormWatch } from 'react-hook-form';
export interface I_CustomSelectProps {
selectOptions: any[];
registerFN: any;
registerOptions: RegisterOptions;
errors: FieldErrors;
fieldName: string;
fieldLabel: string;
placeholder?: string;
onChange?: any;
disabled?: boolean;
watch: UseFormWatch<any>;
isHidden?: boolean;
border?: string;
getValues: UseFormGetValues<any>;
isLoading?: boolean;
}
//# sourceMappingURL=index.d.ts.map