import React from 'react'; import { twMerge } from 'tailwind-merge'; interface CardProps { children: React.ReactNode; className?: string; title?: string; description?: string; actions?: React.ReactNode; onClick?: () => void; } export const Card: React.FC = ({ children, className, title, description, actions, onClick }) => { return (
{(title || actions) && (
{title &&

{title}

} {description &&

{description}

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