import type { ReactNode } from 'react'; import Icon from '@/components/site/icon'; import { cn } from '@/lib/utils'; type EyebrowProps = { icon?: string; className?: string; children: ReactNode; }; /** Small monospace label that sits above a heading. */ export default function Eyebrow({ icon, className, children }: EyebrowProps) { return (
{icon ? ( ) : ( )} {children}
); }