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

Function handleClose

example/src/components/TableContents.js:37–39  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

35 }, [domInfo, isTocOpen]);
36
37 const handleClose = (e) => {
38 if (e.currentTarget === e.target) isTocOpenState.set(false);
39 };
40
41 return (
42 <aside

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…