"use client"; import { ReactNode } from "react"; interface CardProps { children: ReactNode; title?: string; description?: string; className?: string; headerAction?: ReactNode; noPadding?: boolean; onClick?: () => void; allowOverflow?: boolean; } export default function Card({ children, title, description, className = "", headerAction, noPadding = false, onClick, allowOverflow = false }: CardProps) { return (
{(title || description || headerAction) && (
{title && (

{title}

)} {description && (

{description}

)}
{headerAction && (
{headerAction}
)}
)}
{children}
); }