import { Card, CardContent, CardFooter, CardHeader, CardTitle, } from '@marzneshin/common/components'; import type { FC, PropsWithChildren } from 'react'; export interface MiniWidgetProps extends PropsWithChildren { title: JSX.Element | string; content?: JSX.Element | string; footer?: JSX.Element | string; } export const MiniWidget: FC = ({ footer, content, children, title }) => { return ( {title} {content || children} {footer && {footer} } ) }