Contact Us

Customize form

Inputs: FormProps

type BaseProps = { label?: string; className?: string; labelClassName?: string; inputClassName?: string; optionsClassName?: string; error?: string; name?: string; inputLabel?: boolean; options?: InputProps[]; onChange?: (e: ChangeEvent<HTMLInputElement | HTMLTextAreaElement>) => void; isChecked?: (value: any) => boolean; }; type TextInputProps = { multiline?: false;} & InputHTMLAttributes<HTMLInputElement>; type AreaInputProps = { multiline: true;} & TextareaHTMLAttributes<HTMLTextAreaElement>; type InputProps = BaseProps & (TextInputProps | AreaInputProps); type Sizes = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12; type FormProps = { input: InputProps; size?: { sm?: Sizes; md?: Sizes; lg?: Sizes; xl?: Sizes; xs?: Sizes }; }[];

Validation function

success-tick