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