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

Function onSelectionChange

packages/react-aria-components/test/Tabs.test.js:774–777  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

772 };
773
774 const onSelectionChange = value => {
775 setSelectedTabId(value);
776 props.onSelectionChange(value);
777 };
778
779 return (
780 <Tabs selectedKey={selectedTabId} onSelectionChange={onSelectionChange}>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected