MCPcopy Create free account
hub / github.com/fontsource/fontsource / handleDisplay

Function handleDisplay

website/app/components/preview/InstallCode.tsx:316–318  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

314 // Displays
315 const [displayCurrent, setDisplay] = useState('swap');
316 const handleDisplay = (value: string) => {
317 setDisplay(value);
318 };
319
320 // Active subsets
321 const [subsets, setSubsets] = useState<string[]>([metadata.defSubset]);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected