# FormProps

## Definition

```tsx
interface FormProps extends Omit<DynamicFormProps, 'renderOptions' | 'onSubmit'> {
    title: string;
    onSubmit: (data: IFormData) => Promise<ActionResponse>
    afterSave?: (savedRecord?: any) => void;
}
```

## Usage

```tsx
import { FormProps } from 'uxp/components';
```

## Related Types

* [DynamicFormProps](https://help.iviva.com/uxp/v5/additional-resources/types/dynamicformprops)
* [FormSectionProps](https://help.iviva.com/uxp/v5/additional-resources/types/formsectionprops)
* [DynamicFormFieldProps](https://help.iviva.com/uxp/v5/additional-resources/types/dynamicformfieldprops)
* [FormValue](https://help.iviva.com/uxp/v5/additional-resources/types/formvalue)
* [IFormData](https://help.iviva.com/uxp/v5/additional-resources/types/iformdata)
* [CustomValidateResponse](https://help.iviva.com/uxp/v5/additional-resources/types/customvalidateresponse)
* [ActionResponse](https://help.iviva.com/uxp/v5/additional-resources/types/actionresponse)
