import React from 'react'; interface CardProps { title?: string; description?: string; children: React.ReactNode; className?: string; actions?: React.ReactNode; } export function Card({ title, description, children, className = '', actions }: CardProps) { return (
{(title || actions) && (
{title &&

{title}

} {description &&

{description}

}
{actions &&
{actions}
}
)}
{children}
); }