Skip to Content

Code

Inline code. For multi-line code with a copy button use CodeBlock.

Run pnpm install and set NODE_ENV=production.

import { Code } from '@gg-software/ui'; <Text> Run <Code>pnpm install</Code> first. </Text>

Props

PropTypeDefaultDescription
children*ReactNodecontent rendered inside the component
classNamestring

* required · generated from packages/ui/src/typography/Code/Code.tsx