CRUDComponent

CRUD component

Installation

import { CRUDComponent } from 'uxp/components';

Signature

const CRUDComponent: React.ForwardRefExoticComponent<React.RefAttributes<CRUDComponentInstanceProps> & CRUDComponentProps>

Properties

Name
Type
Mandatory
Default Value
Example Value

list

Yes

-

-

add

No

-

-

renderCustomAddView

No

-

-

renderCustomEditView

No

-

-

disableViews

{ add?: boolean; edit?: boolean; delete?: boolean; }

No

-

-

entityName

string

No

-

-

className

string

No

-

-

Ref Handlers

Available methods through ref:

Method
Type
Description

refreshList

() => void

option to refresh the list

Last updated