The best way to control Claude Code, Codex and more from any computer or phone

main
tsx 15 lines 437 Bytes
Raw
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 }