sailfork / t3code-github / .repos/ alchemy-effect/ examples/ fly-website-tanstack-start/ src/ components/ Card.tsx
export function Card(props: { title: string; body: string }) {
return (
<div className="mt-6 max-w-md rounded-xl border border-slate-200 bg-white p-6 shadow-sm">
<h2 className="text-lg font-semibold">{props.title}</h2>
<p className="mt-2 text-slate-600">{props.body}</p>
</div>
);
}