import { LucideIcon } from 'lucide-react'; import React from 'react'; import { Box } from './Box'; import { Heading } from './Heading'; import { Icon } from './Icon'; import { Stack } from './Stack'; import { Surface } from './Surface'; import { Text } from './Text'; interface PageHeaderProps { title: string; description?: string; action?: React.ReactNode; icon?: LucideIcon; } export function PageHeader({ title, description, action, icon, }: PageHeaderProps) { return ( {icon ? ( ) : ( )} {title} {description && ( {description} )} {action && ( {action} )} ); }