Code Block
A syntax-highlighted code display component with copy functionality.
Import
Usage
CodeBlock Props
| Attribute | Type | Default | Description |
|---|---|---|---|
| code | string | - | The code string to display and highlight. |
| language | string | 'tsx' | The programming language for syntax highlighting. |
| showLineNumbers | boolean | false | Whether to display line numbers. |

