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

Function handleActiveDisplay

website/app/components/preview/InstallCode.tsx:157–162  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

155 };
156
157 const handleActiveDisplay = (value: string) => {
158 setActive((prev) => ({
159 ...prev,
160 display: value,
161 }));
162 };
163
164 const handleActiveVariant = (value: string | number) => {
165 setActive((prev) => ({

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected