Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
StaticSimple
Function · 0.85
Calls
2
toggleVariableAxis
Function · 0.90
toggleKeyKeepOne
Function · 0.90
Tested by
no test coverage detected