material-form-builder
Version:
FormBuilder For React.js
12 lines (11 loc) • 436 B
TypeScript
/// <reference types="react" />
export interface InputImplement<ValueType> {
setValue: (data: ValueType, withoutEffect?: boolean) => Promise<any>;
getValue: (validation?: boolean) => ValueType;
onChange?: (event: React.ChangeEvent<HTMLInputElement> | any, value?: any) => void;
clear: () => Promise<any>;
validation: () => boolean;
click?: () => void;
focus?: () => void;
blur?: () => void;
}