import React from 'react'; import type { SectionHeaderProps } from '../../../../types/section'; import { View } from '../../../layout/public'; import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope'; import { Heading } from '../../../typography/public'; import { Text } from '../../../typography/public'; function SectionHeaderInner({ themeId: _themeId, mode: _mode, interactionPolicy: _interactionPolicy, title, description, eyebrow, actions, testID, }: SectionHeaderProps) { return ( {eyebrow ? ( {eyebrow} ) : null} {title} {description ? ( {description} ) : null} {actions ? {actions} : null} ); } /*** * Section heading pattern with optional description and action slot. * */ export const SectionHeader = withZoraThemeScope(SectionHeaderInner);