@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.
19 lines • 555 B
TypeScript
import { HTMLInputTypeAttribute } from 'react';
import { RegisterOptions } from 'react-hook-form';
export interface I_FormField {
error?: string;
selectOptions?: any[];
fieldName: string;
fieldLabel: string;
registerOptions: RegisterOptions;
disabled?: any;
defaultValue?: string;
textAreaRow?: string;
placeholder?: string;
isHidden?: boolean;
type?: HTMLInputTypeAttribute;
step?: string;
fieldtype: 'input' | 'select' | 'file' | 'textarea';
[x: string]: any;
}
//# sourceMappingURL=index.d.ts.map