Skip to content

@sqlrooms/mosaic / MosaicDashboardAddPanelAction

Type Alias: MosaicDashboardAddPanelAction ​

MosaicDashboardAddPanelAction = object

Properties ​

type ​

type: string


label ​

label: string


icon? ​

optional icon?: ComponentType<{ className?: string; }>


isEnabled? ​

optional isEnabled?: (context) => boolean

Parameters ​

ParameterType
contextMosaicDashboardAddPanelActionContext

Returns ​

boolean


createPanel ​

createPanel: (context) => MosaicDashboardPanelConfig | undefined

Parameters ​

ParameterType
contextMosaicDashboardAddPanelActionContext

Returns ​

MosaicDashboardPanelConfig | undefined