MCPcopy Create free account
hub / github.com/adobe/react-spectrum / onChange

Function onChange

packages/react-aria/src/grid/useGridSelectionCheckbox.ts:37–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

35
36 // Checkbox should always toggle selection, regardless of selectionBehavior.
37 let onChange = () => manager.toggleSelection(key);
38
39 const stringFormatter = useLocalizedStringFormatter(intlMessages, '@react-aria/grid');
40

Callers

nothing calls this directly

Calls 1

toggleSelectionMethod · 0.65

Tested by

no test coverage detected