import type { ReactNode } from 'react'; import type { CardProps } from 'reactstrap'; import { Card, CardBody, CardHeader } from 'reactstrap'; interface SimpleCardProps extends Omit { title?: ReactNode; bodyClassName?: string; } export const SimpleCard = ({ title, children, bodyClassName, ...rest }: SimpleCardProps) => ( {title && {title}} {children} );