# CRUDComponentProps

CRUD component props

## Definition

```tsx
interface CRUDComponentProps {
    /**
     * list view props 
     */
    list: ListProps,
    /**
     * add view props 
     */
    add?: FormProps,
    /**
     * option to render a custom add  view
     */
    renderCustomAddView?: RenderCustomFormView
    /**
     * edit view props 
     */
    edit?: ExtendedFormProps,
    /**
     * option to render a custom edit view
     */
    renderCustomEditView?: RenderCustomFormView
    /**
     * option to disable views
     */
    disableViews?: {
        add?: boolean;
        edit?: boolean;
        delete?: boolean;
    },
    /**
     * name of the entit, this will be used in notifications 
     */
    entityName?: string,
    /**
     * custom class name
     */
    className?: string
}
```

## Usage

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

## Related Types

* [ListProps](https://help.iviva.com/uxp/v5/additional-resources/types/listprops)
* [TableColumn](https://help.iviva.com/uxp/v5/additional-resources/types/tablecolumn)
* [Column](https://help.iviva.com/uxp/v5/additional-resources/types/column)
* [ActionResponse](https://help.iviva.com/uxp/v5/additional-resources/types/actionresponse)
* [FormProps](https://help.iviva.com/uxp/v5/additional-resources/types/formprops)
* [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)
* [RenderCustomFormView](https://help.iviva.com/uxp/v5/additional-resources/types/rendercustomformview)
* [ExtendedFormProps](https://help.iviva.com/uxp/v5/additional-resources/types/extendedformprops)
