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

Function Variable

website/app/components/preview/Install.tsx:20–34  ·  view source on GitHub ↗
({ metadata, variable }: InstallProps)

Source from the content-addressed store, hash-verified

18}
19
20const Variable = ({ metadata, variable }: InstallProps) => {
21 return (
22 <>
23 <Title order={3} mt="xl" mb="md">
24 Installation
25 </Title>
26 <Text>
27 Install the variable version of this font by running the following
28 command:
29 </Text>
30 <PackageManagerCode cmd={`@fontsource-variable/${metadata.id}`} />
31 <InstallCode metadata={metadata} variable={variable} />
32 </>
33 );
34};
35
36const Static = ({ metadata }: InstallProps) => {
37 return (

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected