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.
Type Declaration
Section titled “Type Declaration”deleteEdgeLabel
Section titled “deleteEdgeLabel”deleteEdgeLabel:
string
deleteNodeLabel
Section titled “deleteNodeLabel”deleteNodeLabel:
string
headerLabel
Section titled “headerLabel”headerLabel:
string
onDeleteClick?
Section titled “onDeleteClick?”
optionalonDeleteClick?: () =>void
Returns
Section titled “Returns”void
onMenuHeaderClick?
Section titled “onMenuHeaderClick?”
optionalonMenuHeaderClick?: () =>void
Returns
Section titled “Returns”void
onTabChange
Section titled “onTabChange”onTabChange: (
tab) =>void
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”void
optionaltabs?:PropertiesBarTab[]