Skip to content

PropertiesBarProps

PropertiesBarProps = PropertiesBarBaseProps & object

Props accepted by PropertiesBar.

Provide localized labels (headerLabel, deleteNodeLabel, deleteEdgeLabel), the active tab + change handler, and an optional tabs array for extra tabs alongside the default “Properties” tab. The Delete button shows only with onDeleteClick; a decorator on the 'PropertiesBar' slot that sets it to undefined removes the button.

deleteEdgeLabel: string

deleteNodeLabel: string

headerLabel: string

optional onDeleteClick?: () => void

void

optional onMenuHeaderClick?: () => void

void

onTabChange: (tab) => void

string

void

optional tabs?: PropertiesBarTab[]