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

Function handleActive

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

Source from the content-addressed store, hash-verified

90 };
91
92 const handleActive = (value: string | number) => {
93 setActive((prev) => toggleVariableAxis(prev, value));
94 };
95
96 return (
97 <>

Callers 1

StaticSimpleFunction · 0.85

Calls 2

toggleVariableAxisFunction · 0.90
toggleKeyKeepOneFunction · 0.90

Tested by

no test coverage detected