@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, 06:00 UTC

main
tsx 9 lines 371 Bytes
Raw
1 // A React server component styled with Tailwind utility classes.
2 export function Card({ title, body }: { title: string; body: string }) {
3 return (
4 <div className="mt-6 max-w-md rounded-xl border border-slate-200 bg-white p-6 shadow-sm">
5 <h2 className="text-lg font-semibold">{title}</h2>
6 <p className="mt-2 text-slate-600">{body}</p>
7 </div>
8 );
9 }