MCPcopy Create free account
hub / github.com/dailydotdev/apps / onCheckboxClick

Function onCheckboxClick

packages/shared/src/components/picks/PickRow.tsx:75–79  ·  view source on GitHub ↗
(event: MouseEvent)

Source from the content-addressed store, hash-verified

73 // The checkbox is fully controlled by the page state, so a blocked selection
74 // (the 6th) can never leave it looking checked.
75 const onCheckboxClick = (event: MouseEvent): void => {
76 event.preventDefault();
77 event.stopPropagation();
78 toggle();
79 };
80
81 return (
82 <li

Callers

nothing calls this directly

Calls 1

toggleFunction · 0.70

Tested by

no test coverage detected