@devries-cameron20 / t3code Mirror · read-only
Fork 0

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

main
tsx 13 lines 377 Bytes
Raw
1 import { lazy, Suspense } from "react";
2
3 import { FileSurfaceLoading } from "./fileSurfaceChrome";
4
5 const FontViewer = lazy(() => import("./FontViewer"));
6
7 export function FontFilePreview(props: { readonly src: string; readonly name: string }) {
8 return (
9 <Suspense fallback={<FileSurfaceLoading />}>
10 <FontViewer key={props.src} {...props} />
11 </Suspense>
12 );
13 }