import type { ReactNode } from 'react'; import Box from '@mui/material/Box'; import Card from '@mui/material/Card'; import CardContent from '@mui/material/CardContent'; import Typography from '@mui/material/Typography'; /** Card with a title and a visible caption subtitle (the vitis pages lean on * subtitles for honesty notes, so they must be visible, not tooltip-only). */ export function VitisSection({ title, subtitle, action, children, }: { title: ReactNode; subtitle?: ReactNode; action?: ReactNode; children: ReactNode; }) { return ( {title} {action} {subtitle ? ( {subtitle} ) : null} {children} ); }