MCPcopy Create free account
hub / github.com/szhsin/react-menu / onMouseEnter

Function onMouseEnter

example/src/components/Example.js:46–50  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

44
45 const getBtnMouseEvents = (anchorRef, tooltip) => ({
46 onMouseEnter() {
47 setAnchorRef(anchorRef);
48 setToolTip(tooltip);
49 toggleMenu(true);
50 },
51 onMouseLeave() {
52 toggleMenu(false);
53 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…