--- import { Icon } from 'astro-icon/components' import { cn } from '../lib/cn' import BaseLayout from './BaseLayout.astro' import type { ComponentProps } from 'astro/types' type Props = Omit, 'widthClassName'> & { layoutHeader: { icon: string; title: string; subtitle?: string } size?: 'md' | 'xs' } const { layoutHeader, size = 'xs', ...baseLayoutProps } = Astro.props ---

{layoutHeader.title}

{ !!layoutHeader.subtitle && (

{layoutHeader.subtitle}

) }