PropertiesBarProps
PropertiesBarProps =
PropertiesBarBaseProps&object
Props accepted by PropertiesBar.
Provide localized labels (headerLabel, deleteNodeLabel,
deleteEdgeLabel), the active tab + change handler, the delete handler,
and an optional tabs array for extra tabs alongside the default
“Properties” tab.
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”onDeleteClick: () =>
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[]