Files
hatchet/frontend/docs/components/LogViewer.tsx
Matt Kaye f9d3d508ca Blocked event loop blog post (#1775)
* feat: snippets

* feat: first couple paragraphs

* feat: flesh out hatchet examples

* fix: one more

* feat: log view

* fix: cleanup

* feat: another section

* fix: fmt

* feat: debugging section

* fix: proofread

* fix: lint

* chore: gen

* fix: copilot

* fix: copilot

* feat: add blog post link

* fix: feedback

* chore: sdk ver

* chore: gen

* fix: ugh
2025-05-27 11:07:34 -07:00

8 lines
205 B
TypeScript

export function LogViewer({ children }: { children: React.ReactNode }) {
return (
<div className="py-4 my-4 max-h-96 overflow-auto">
<pre className="text-sm">{children}</pre>
</div>
);
}