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

Function onSelectionChange

packages/dev/s2-docs/src/ShadcnCommand.tsx:27–29  ·  view source on GitHub ↗
(value: Key)

Source from the content-addressed store, hash-verified

25 }
26
27 let onSelectionChange = (value: Key) => {
28 setPackageManager(String(value));
29 };
30
31 let [storedType, setStoredType] = useLocalStorage('style', type || 'Vanilla CSS');
32 let shadcnType =

Callers

nothing calls this directly

Calls 1

StringFunction · 0.85

Tested by

no test coverage detected