import * as React from "react" import { cn } from "@/lib/utils" export type SectionProps = React.ComponentProps<"section"> & { eyebrow?: React.ReactNode title?: React.ReactNode description?: React.ReactNode actions?: React.ReactNode } function Section({ eyebrow, title, description, actions, className, children, ...props }: SectionProps) { return (
{(eyebrow || title || description || actions) && (
{eyebrow &&

{eyebrow}

} {title &&

{title}

} {description &&

{description}

}
{actions &&
{actions}
}
)} {children}
) } export { Section }