The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 21, 04:45 UTC
| 1 | import { lazy, Suspense } from "react"; |
| 2 | import { FileSurfaceLoading } from "./fileSurfaceChrome"; |
| 3 | |
| 4 | const LargeTextViewer = lazy(() => import("./LargeTextViewer")); |
| 5 | export function DelimitedTablePreview(props: { |
| 6 | readonly name: string; |
| 7 | readonly text: string; |
| 8 | readonly delimiter: "," | "\t"; |
| 9 | }) { |
| 10 | return ( |
| 11 | <Suspense fallback={<FileSurfaceLoading />}> |
| 12 | <LargeTextViewer key={props.name} {...props} /> |
| 13 | </Suspense> |
| 14 | ); |
| 15 | } |