Skip to content

Commit

Permalink
add feature to topology package demo
Browse files Browse the repository at this point in the history
  • Loading branch information
jenny-s51 committed Dec 4, 2024
1 parent 5ed1a3b commit 852eda6
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ const DemoGroup: React.FunctionComponent<DemoGroupProps> = ({ element, onContext
return (
<DefaultGroup
{...rest}
onContextMenu={data.showContextMenu ? onContextMenu : undefined}
onContextMenu={options.contextMenus ? onContextMenu : undefined}
hideContextMenuKebab={options.hideKebabMenu}
element={element}
collapsible
collapsedWidth={DEFAULT_NODE_SIZE}
Expand Down

0 comments on commit 852eda6

Please sign in to comment.