/**
 * Code block component for rendering preformatted text
 * in the audit documentation (diagrams, config examples).
 */

export function CodeBlock({ children }: { children: string }) {
  return (
    <pre className="bg-slate-900 text-slate-100 p-4 rounded-lg overflow-x-auto text-sm font-mono my-4 whitespace-pre">
      {children}
    </pre>
  )
}
