MCPcopy Create free account
hub / github.com/TanStack/devtools / handleChange

Function handleChange

packages/devtools-ui/src/components/checkbox.tsx:15–19  ·  view source on GitHub ↗
(e: Event)

Source from the content-addressed store, hash-verified

13 const [isChecked, setIsChecked] = createSignal(props.checked || false)
14 const descriptionId = `${createUniqueId()}-description`
15
16 const handleChange = (e: Event) => {
17 const checked = (e.target as HTMLInputElement).checked
18 setIsChecked(checked)
19 props.onChange?.(checked)
20 }
21
22 return (

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected