@amsterdam/bmi-dms-upload
Version:
A document upload flow that can be implemented in any BMI React application. Documents are stored in DMS. Metadata can be added in the flow.
12 lines • 414 B
TypeScript
import { ControlProps } from '@jsonforms/core';
declare function useCustomControl({ data: value, errors, handleChange, path, schema }: ControlProps): {
isFocused: boolean;
isDirty: boolean;
isValid: boolean;
onFocus: () => void;
onBlur: (e: any) => void;
onChange: (e: any) => void;
isRequired: boolean;
};
export default useCustomControl;
//# sourceMappingURL=useCustomControl.d.ts.map