CRUDComponent

CRUD component

Installation

import {CRUDComponent} from 'uxp/components';

Properties

Name
Type
Description

list

list view props

add

add view props

renderCustomAddView

option to render a custom add view

edit

edit view props

renderCustomEditView

option to render a custom edit view

disableViews

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

option to disable views

entityName

string

name of the entit, this will be used in notifications

className

string

custom class name

list


list view props

add


add view props

renderCustomAddView


option to render a custom add view

edit


edit view props

renderCustomEditView


option to render a custom edit view

disableViews


option to disable views

type

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

entityName


name of the entit, this will be used in notifications

type

string

className


custom class name

type

string

Last updated