import type { ReactNode, MouseEvent, HTMLAttributes } from 'react'; interface CardProps extends HTMLAttributes { children: ReactNode; className?: string; onClick?: (e: MouseEvent) => void; onContextMenu?: (e: MouseEvent) => void; } export function Card({ children, className = '', onClick, onContextMenu, ...rest }: CardProps) { return (
{children}
); } export function CardHeader({ children, className = '' }: CardProps) { return (
{children}
); } export function CardContent({ children, className = '' }: CardProps) { return
{children}
; }