We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8439cf7 commit df334caCopy full SHA for df334ca
src/connectMenu.js
@@ -7,7 +7,7 @@ import listener from './globalEventListener';
7
const ignoredTriggerProps = [...Object.keys(ContextMenuTrigger.propTypes), 'children'];
8
9
// expect the id of the menu to be responsible for as outer parameter
10
-export default function (menuId) {
+export default function connectMenu(menuId) {
11
// expect menu component to connect as inner parameter
12
// <Child/> is presumably a wrapper of <ContextMenu/>
13
return function connect(Child) {
0 commit comments