MCPcopy Create free account
hub / github.com/ReactTooltip/react-tooltip / handleButtonClick

Function handleButtonClick

src/App.tsx:20–23  ·  view source on GitHub ↗
(event)

Source from the content-addressed store, hash-verified

18 }
19
20 const handleButtonClick: React.MouseEventHandler<HTMLButtonElement> = (event) => {
21 const target = event.target as HTMLElement
22 setAnchorId(target.id)
23 }
24
25 useEffect(() => {
26 const handleQ = (event: KeyboardEvent) => {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected