import { forwardRef } from 'react'; import { cn } from '../../lib/utils'; import { Heading } from '../../shadcn/heading'; interface SecondaryHeroProps extends React.HTMLAttributes { pill?: React.ReactNode; heading: React.ReactNode; subheading: React.ReactNode; } export const SecondaryHero = forwardRef( function SecondaryHeroComponent( { className, pill, heading, subheading, children, ...props }, ref, ) { return (
{pill}
{heading} {subheading}
{children}
); }, );