sailfork / t3code-github / .repos/ alchemy-effect/ examples/ cloudflare-website-react-router/ app/ components/ Card.tsx

/** @jsxImportSource react */
export function Card({ title, body }: { 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">{title}</h2>
      <p className="mt-2 text-slate-600">{body}</p>
    </div>
  );
}