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

Function handleClick

docs/app/components/Buttons/Button.tsx:29–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27 forwardedRef: any
28 ) => {
29 const handleClick: MouseEventHandler<HTMLButtonElement> = e => {
30 if (onClick) {
31 onClick(e)
32 }
33 }
34
35 if (href) {
36 return (

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…