import type { HTMLAttributes, ReactNode } from 'react'
import { cn } from '@/utils/cn'
export function Card({ className, ...props }: HTMLAttributes) {
return (
)
}
export function CardHeader({
className,
title,
description,
action,
children,
...props
}: HTMLAttributes & { title?: ReactNode; description?: ReactNode; action?: ReactNode }) {
return (
{title &&
{title}
}
{description &&
{description}
}
{children}
{action &&
{action}
}
)
}
export function CardContent({ className, ...props }: HTMLAttributes) {
return
}
export function CardFooter({ className, ...props }: HTMLAttributes) {
return
}