import { HTMLAttributes, forwardRef } from 'react'; interface CardProps extends HTMLAttributes { hover?: boolean; } export const Card = forwardRef( ({ className = '', hover = false, children, ...props }, ref) => { return (
{children}
); } ); Card.displayName = 'Card'; export const CardHeader = forwardRef>( ({ className = '', ...props }, ref) => (
) ); CardHeader.displayName = 'CardHeader'; export const CardTitle = forwardRef>( ({ className = '', ...props }, ref) => (

) ); CardTitle.displayName = 'CardTitle'; export const CardDescription = forwardRef< HTMLParagraphElement, HTMLAttributes >(({ className = '', ...props }, ref) => (

)); CardDescription.displayName = 'CardDescription'; export const CardContent = forwardRef>( ({ className = '', ...props }, ref) => (

) ); CardContent.displayName = 'CardContent'; export const CardFooter = forwardRef>( ({ className = '', ...props }, ref) => (
) ); CardFooter.displayName = 'CardFooter';