The DataForm component is a wrapper for forms.
Prop | Type | Description |
---|---|---|
className | string | Additional CSS classes. |
form | object | An object containing form state. |
handleCancel | function | Function that is executed when the form is cancelled. The default behavior is to navigating back or close the modal. |
modal | boolean | If true, the form is displayed inside a modal. |
children | ReactNode | Form content. |