({ code, language, label, variant = 'editor', className = '' }: CodeBlockProps)
| 164 | } |
| 165 | |
| 166 | export default function CodeBlock({ code, language, label, variant = 'editor', className = '' }: CodeBlockProps) { |
| 167 | if (variant === 'terminal') return <TerminalBlock code={code} label={label} className={className} /> |
| 168 | if (variant === 'inline') return <InlineBlock code={code} className={className} /> |
| 169 | return <EditorBlock code={code} language={language} label={label} className={className} /> |
| 170 | } |
nothing calls this directly
no outgoing calls
no test coverage detected