'use client'; import type { ConsoleLogEntry } from './types'; interface Props { entry: ConsoleLogEntry; } const KIND_CLASS: Record = { error: 'text-bm-danger', warn: 'text-bm-warn', info: 'text-bm-ink-muted', log: 'text-bm-ink-muted', }; export function ConsoleLogRow({ entry }: Props) { const kindClass = KIND_CLASS[entry.kind]; // Top-aligned so multi-line messages (pretty-printed objects, error // bodies) read down from the timestamp instead of crowding against // the kind chip's center. return (
{entry.timestamp} {entry.kind}
        {entry.message}
      
); }