import type { ReactNode } from 'react'; import { Text } from '~/components/ui/text'; interface PageHeaderProps { title: string; description?: string; actions?: ReactNode; } export function PageHeader({ title, description, actions }: PageHeaderProps) { return (
{title} {description && {description}}
{actions &&
{actions}
}
); }