MCPcopy 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
26const resetVariation = (state$: FontIDState) => {
27 // Reset variation to default
28 state$.preview.italic.set(false);
29 state$.variable.set({});
30};
31
32const Configure = ({
33 state$,

Callers 1

ConfigureFunction · 0.70

Calls 1

setMethod · 0.80

Tested by

no test coverage detected