import React from 'react'; import { ReactNode } from 'react'; import { Box } from './Box'; import { Heading } from './Heading'; import { Text } from './Text'; export interface SectionHeaderProps { title: string; description?: string; actions?: ReactNode; loading?: ReactNode; variant?: 'default' | 'minimal'; } export const SectionHeader = ({ title, description, actions, loading, variant = 'default' }: SectionHeaderProps) => { const isMinimal = variant === 'minimal'; return ( {title} {description && ( {description} )} {actions && ( {actions} )} {loading && ( {loading} )} ); };