import { Row, Col } from "./layout"; import { CHIP, COLORS, TYPOGRAPHY } from "./constants"; interface CodePanelProps { lines: string[]; maxLines: number; height: number; fontSize?: number; } export function CodePanel({ lines, maxLines, height, fontSize = 24, }: CodePanelProps) { const shown = lines.slice(0, maxLines); const gutter = String(shown.length).length; return (