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

Function resetVariation

website/app/components/preview/VariableButtons.tsx:37–40  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

35 };
36
37 const resetVariation = () => {
38 if (tag === 'ital') state$.preview.italic.set(false);
39 state$.variable.assign({ [tag]: undefined });
40 };
41
42 return (
43 <Box className={classes.button}>

Callers

nothing calls this directly

Calls 1

setMethod · 0.80

Tested by

no test coverage detected