Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/fontsource/fontsource
/ resetVariation
Function
resetVariation
website/app/components/preview/Configure.tsx:26–30 ·
view source on GitHub ↗
(state$: FontIDState)
Source
from the content-addressed store, hash-verified
24
}
25
26
const resetVariation = (state$: FontIDState) => {
27
// Reset variation to default
28
state$.preview.italic.set(false);
29
state$.variable.set({});
30
};
31
32
const Configure = ({
33
state$,
Callers
1
Configure
Function · 0.70
Calls
1
set
Method · 0.80
Tested by
no test coverage detected