@sqlrooms/documents / BlockSettingsComponentProps
Type Alias: BlockSettingsComponentProps
BlockSettingsComponentProps =
object
Props passed to block settings components.
Properties
blockId
blockId:
string
The ID of the block or panel being configured
dashboardId?
optionaldashboardId?:string
The ID of the parent dashboard/document, when available
blockInstanceId?
optionalblockInstanceId?:string
Backing state id for stateful document blocks, when available
readOnly?
optionalreadOnly?:boolean
Whether the selected document block is read-only
onClose?
optionalonClose?: () =>void
Optional callback for settings UIs that can close the host settings panel
Returns
void