import React from 'react'; interface CardProps { children: React.ReactNode; className?: string; padding?: 'none' | 'sm' | 'md' | 'lg'; hover?: boolean; onClick?: () => void; } export function Card({ children, className = '', padding = 'md', hover = false, onClick, }: CardProps) { const baseClasses = 'bg-white rounded-lg border border-gray-200 shadow-sm'; const paddingClasses = { none: '', sm: 'p-3', md: 'p-4', lg: 'p-6', }; const hoverClasses = hover ? 'hover:shadow-md transition-shadow cursor-pointer' : ''; const interactiveClasses = onClick ? 'cursor-pointer' : ''; const classes = `${baseClasses} ${paddingClasses[padding]} ${hoverClasses} ${interactiveClasses} ${className}`; if (onClick) { return (
{children}
); } return
{children}
; } interface CardHeaderProps { children: React.ReactNode; className?: string; } export function CardHeader({ children, className = '' }: CardHeaderProps) { return (
{children}
); } interface CardTitleProps { children: React.ReactNode; className?: string; } export function CardTitle({ children, className = '' }: CardTitleProps) { return (

{children}

); } interface CardDescriptionProps { children: React.ReactNode; className?: string; } export function CardDescription({ children, className = '', }: CardDescriptionProps) { return (

{children}

); } interface CardContentProps { children: React.ReactNode; className?: string; } export function CardContent({ children, className = '' }: CardContentProps) { return
{children}
; } interface CardFooterProps { children: React.ReactNode; className?: string; } export function CardFooter({ children, className = '' }: CardFooterProps) { return (
{children}
); }