Files
gridpilot.gg/apps/website/components/ui/Card.tsx
2025-12-02 00:19:49 +01:00

14 lines
380 B
TypeScript

import { ReactNode } from 'react';
interface CardProps {
children: ReactNode;
className?: string;
}
export default function Card({ children, className = '' }: CardProps) {
return (
<div className={`rounded-lg bg-iron-gray p-6 shadow-card border border-charcoal-outline hover:shadow-glow transition-shadow duration-200 ${className}`}>
{children}
</div>
);
}