import React, { ReactNode } from 'react'; import { Heading } from '@/ui/Heading'; import { Text } from '@/ui/Text'; import { Box } from '@/ui/Box'; interface PageHeaderProps { title: string; subtitle?: string; action?: ReactNode; } /** * Generic PageHeader component following the Teams page style. * Used to maintain visual consistency across main directory pages. */ export function PageHeader({ title, subtitle, action }: PageHeaderProps) { return ( {title} {subtitle && ( {subtitle} )} {action && ( {action} )} ); }