Skip to main content

ViewSheetProps

Props for the ViewSheet component.

Properties

children

children: ReactNode

The trigger element that opens the sheet when clicked


defaultTab?

optional defaultTab: TabsName

The default tab to display when the sheet opens


id?

optional id: string

The id to display


onCloseClick()?

optional onCloseClick: (v) => void

Event handler called when the sheet is closed

Parameters

v

boolean

Returns

void


onEditClick?

optional onEditClick: VoidFuncNoParam

Event handler called when edit action is triggered


onRefreshItems?

optional onRefreshItems: VoidFuncNoParam

Event handler called when need to be refreshed


resourceName?

optional resourceName: string

The name to display


uiResourceMeta?

optional uiResourceMeta: UiResourceMeta

Metadata about the item being displayed can be added to increase the performance of the component