import { pretty } from "@/lib/redact";

export function ValueView({ value, className = "" }: { value: unknown; className?: string }) {
  return <pre className={`valueView ${className}`}>{pretty(value)}</pre>;
}
