File tree Expand file tree Collapse file tree 5 files changed +83
-742
lines changed
Expand file tree Collapse file tree 5 files changed +83
-742
lines changed Original file line number Diff line number Diff line change @@ -12,14 +12,17 @@ Base Contextmenu Component.
1212
1313#### PropTypes
1414
15- | Property | Type | Required? | Description |
16- | --------------| ----------| -----------| ------------------------------------------------------------------|
17- | id | String | ✓ | A unique identifier for a menu. |
18- | hideOnLeave | Boolean | | Hides the context menu on mouse leave. |
19- | onMouseLeave | Function | | Callback called when the mouse leaves the menu or submenu areas. |
20- | onHide | Function | | Callback called when the menu is hidden. |
21- | onShow | Function | | Callback called when the menu is shown. |
22- | className | String | | Custom ` className ` applied to root element of the context-menu. |
15+ | Property | Type | Required? | Description |
16+ | --------------------------| ----------| -----------| ------------------------------------------------------------------|
17+ | id | String | ✓ | A unique identifier for a menu. |
18+ | hideOnLeave | Boolean | | Hides the context menu on mouse leave. |
19+ | onMouseLeave | Function | | Callback called when the mouse leaves the menu or submenu areas. |
20+ | onHide | Function | | Callback called when the menu is hidden. |
21+ | onShow | Function | | Callback called when the menu is shown. |
22+ | preventHideOnContextMenu | Boolean | | Prevents hiding of the context menu on contextMenu event. |
23+ | preventHideOnResize | Boolean | | Prevents hiding of the context menu on resize event. |
24+ | preventHideOnScroll | Boolean | | Prevents hiding of the context menu on scroll event. |
25+ | className | String | | Custom ` className ` applied to root element of the context-menu. |
2326
2427### ` <ContextMenuTrigger /> `
2528
You can’t perform that action at this time.
0 commit comments