import type { ReactNode } from 'react'; import { cn } from '@/lib/utils'; const paddings = { none: '', sm: 'p-4', md: 'p-6', lg: 'p-6 lg:p-8', } as const; type CardProps = { padding?: keyof typeof paddings; /** Adds the crimson hover border used on clickable-looking cards. */ interactive?: boolean; className?: string; children: ReactNode; }; export default function Card({ padding = 'md', interactive = false, className, children, }: CardProps) { return (
{children}
); }