import clsx from 'clsx'; import { PropsWithChildren } from 'react'; interface Props { title: string; description?: string; mini?: boolean; className?: string; } export default ({ mini, ...props }: PropsWithChildren) => { return (

{props.title}

{!!props.description && (

{props.description}

)} {!mini && props.children}
{mini && props.children}
); };