import React from 'react'; type DefaultDivProps = JSX.IntrinsicElements['div']; interface CardProps extends DefaultDivProps { title: string; description: string | JSX.Element; buttons?: JSX.Element; lgPlaceholder?: JSX.Element; } export const Card = ({ title, description, buttons, children, className, lgPlaceholder, ...props }: CardProps): JSX.Element => { return (
{title}
{description}
{buttons}
{children}
{lgPlaceholder && (
{lgPlaceholder}
)}
); };