export default function Card({ title, action, children, className = '' }) { return (
{(title || action) && (
{typeof title === 'string' ? (

{title}

) : (
{title}
)} {action &&
{action}
}
)} {children}
); }