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

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