import type { ReactNode } from 'react'; import Box from '@mui/material/Box'; import Typography from '@mui/material/Typography'; export interface SectionHeaderProps { title: ReactNode; subtitle?: ReactNode; action?: ReactNode; compact?: boolean; } export const SectionHeader = ({ title, subtitle, action, compact }: SectionHeaderProps) => ( theme.tokens.accent.gradient, WebkitBackgroundClip: 'text', WebkitTextFillColor: 'transparent', backgroundClip: 'text', display: 'inline-block', }} > {title} {subtitle && ( {subtitle} )} {action} );