Skip to content

@sqlrooms/documents / BlockSettingsPanel

Variable: BlockSettingsPanel

const BlockSettingsPanel: FC<BlockSettingsPanelProps>

Panel that displays settings for the currently selected block.

Automatically renders the settings component supplied by the selected block or panel definition.

Shows empty states for:

  • No block selected
  • No settings component available for the selected block

Example

tsx
<div className="flex h-full">
  <div className="flex-1">
    <Dashboard />
  </div>
  <BlockSettingsPanel className="w-80 border-l" />
</div>