import { ReactNode } from 'react'; import { Box } from './Box'; import { Glow } from './Glow'; import { Heading } from './Heading'; import { Text } from './Text'; export interface TeamHeroProps { title: ReactNode; description: string; stats?: ReactNode; actions?: ReactNode; sideContent?: ReactNode; } export const TeamHero = ({ title, description, stats, actions, sideContent }: TeamHeroProps) => { return ( {title} {description} {stats && {stats}} {actions && ( {actions} )} {sideContent && ( {sideContent} )} ); };