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

main
tsx 9 lines 335 Bytes
Raw
1 /** @jsxImportSource react */
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 }