UNPKG

pagamio-frontend-commons-lib

Version:

Pagamio library for Frontend reusable components like the form engine and table container

17 lines (16 loc) 563 B
import type { DependentFieldUpdate, Field } from '../form-engine'; interface FormEngineDrawerProps { title: string; isOpen: boolean; cancelButtonText?: string; submitButtonText?: string; marginTop?: string; fields: Field[]; initialValues?: any; onSubmit: (data: any) => Promise<void>; onClose: () => void; onFieldUpdate?: Record<string, DependentFieldUpdate[]>; } declare const FormEngineDrawer: React.FC<FormEngineDrawerProps>; export default FormEngineDrawer; export type { FormEngineDrawerProps, DependentFieldUpdate };