interface CodeBlockProps

Code block props

Properties

optional
lineNumbers: boolean

Whether to show line numbers

optional
maxHeight: string

Maximum height with scroll

optional
class: string

Additional CSS classes

Usage

import { type CodeBlockProps } from ".";