We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8916548 commit c23e537Copy full SHA for c23e537
docs/features/Context-Menu.mdx
@@ -20,7 +20,7 @@ To adjust the context menu visualization, add a custom React component using the
20
<ProcessMining
21
eventLog={data}
22
timestamp={5}
23
- renderContextMenu={({item}) => 'label' in item && item.label && (
+ renderContextMenu={({item}) => item && 'label' in item && item.label && (
24
<button onClick={() => alert(\`\${item.label} clicked!\`)}>Click here!</button>
25
)}
26
></ProcessMining>
0 commit comments