Skip to main content

DataCardActionProps

Props for DataCardAction component.

Properties​

onDialogResponse()​

onDialogResponse: (v) => void

Event handler called when a response is received from the delete confirmation dialog

Parameters​

v​

boolean

Returns​

void


onRefreshItems?​

optional onRefreshItems: VoidFuncNoParam

Event handler called when resources need to be refreshed


onViewClick?​

optional onViewClick: VoidFuncNoParam

Event handler called when the view action is triggered


resourceId​

resourceId: string

Resource Id


shouldShowDeleteButton?​

optional shouldShowDeleteButton: boolean

Type of action block


shouldShowEditButton?​

optional shouldShowEditButton: boolean

Whether to show edit button


shouldShowViewButton?​

optional shouldShowViewButton: boolean

Whether to show view button


uiResourceMeta​

uiResourceMeta: UiResourceMeta

UI resource metadata