Files

16 lines
364 B
TypeScript

interface CardProps {
children: React.ReactNode;
className?: string;
}
export function Card({ children, className = "" }: CardProps) {
return (
<div
className={`border border-border p-6 md:p-8 transition-shadow duration-200 hover:shadow-lg ${className}`}
style={{ borderRadius: "var(--radius-md)" }}
>
{children}
</div>
);
}