import React from 'react'; import { cn } from '@/lib/utils'; interface CardProps extends React.HTMLAttributes { children: React.ReactNode; } interface CardHeaderProps extends React.HTMLAttributes { children: React.ReactNode; } interface CardContentProps extends React.HTMLAttributes { children: React.ReactNode; } interface CardFooterProps extends React.HTMLAttributes { children: React.ReactNode; } interface CardTitleProps extends React.HTMLAttributes { children: React.ReactNode; } interface CardDescriptionProps extends React.HTMLAttributes { children: React.ReactNode; } const Card = React.forwardRef( ({ className, children, ...props }, ref) => (
{children}
), ); Card.displayName = 'Card'; const CardHeader = React.forwardRef( ({ className, children, ...props }, ref) => (
{children}
), ); CardHeader.displayName = 'CardHeader'; const CardTitle = React.forwardRef( ({ className, children, ...props }, ref) => (

{children}

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

{children}

)); CardDescription.displayName = 'CardDescription'; const CardContent = React.forwardRef( ({ className, children, ...props }, ref) => (
{children}
), ); CardContent.displayName = 'CardContent'; const CardFooter = React.forwardRef( ({ className, children, ...props }, ref) => (
{children}
), ); CardFooter.displayName = 'CardFooter'; export { Card, CardHeader, CardFooter, CardTitle, CardDescription, CardContent, };