Skip to content

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.

deleteEdgeLabel: string

deleteNodeLabel: string

headerLabel: string

onDeleteClick: () => void

void

optional onMenuHeaderClick?: () => void

void

onTabChange: (tab) => void

string

void

optional tabs?: PropertiesBarTab[]