Code
Code displays an inline span of code using a monospaced font, for a term inside prose.
Example
Guidelines
When to use
- When referencing a code term — a value, identifier, or file name — inside a sentence.
When not to use
- If displaying a block of code or a command, use a code snippet instead.
Props
| Name | Default | Description |
|---|---|---|
children | — | ReactNodeText |