MCPcopy
hub / github.com/pmndrs/react-spring / handleClick

Function handleClick

docs/app/components/Menu/MenuDocs.tsx:85–89  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

83 level: number
84) => {
85 const handleClick = () => {
86 if (onClick) {
87 onClick()
88 }
89 }
90 const hasRenderableChildren = children.length > 0
91
92 const isTitle = level === 0

Callers

nothing calls this directly

Calls 1

onClickFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…