import React from 'react'; import Card from '@/components/elements/Card'; import { cn } from '@/lib/cn'; import { sectionTitleClass } from '@/components/ui/typography'; type Props = Readonly< React.DetailedHTMLProps, HTMLDivElement> & { title?: string; borderColor?: string; showLoadingOverlay?: boolean; } >; /** A section title above a plain `Card`. */ const ContentBox = ({ title, borderColor, showLoadingOverlay, children, ...props }: Props) => (
{title &&

{title}

} {children}
); export default ContentBox;