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

Function handleActiveWeight

website/app/components/preview/InstallCode.tsx:307–309  ·  view source on GitHub ↗
(value: string | number)

Source from the content-addressed store, hash-verified

305 400: true,
306 });
307 const handleActiveWeight = (value: string | number) => {
308 setActiveWeight((prev) => toggleKeyKeepOne(prev, value));
309 };
310
311 // Active italics
312 const [isItal, setIsItal] = useState(false);

Callers 1

StaticAdvancedFunction · 0.70

Calls 1

toggleKeyKeepOneFunction · 0.90

Tested by

no test coverage detected