import type React from "react"; import { Reveal } from "./Reveal"; interface SectionProps { id?: string; eyebrow?: string; title: string; description?: string; dark?: boolean; aside?: React.ReactNode; children: React.ReactNode; disableChildrenAnimation?: boolean; } export const Section = ({ id, eyebrow, title, description, dark, aside, children, disableChildrenAnimation = false, }: SectionProps) => { const baseClass = dark ? "ds-section ds-section-dark" : "ds-section"; return (
{eyebrow &&

{eyebrow}

}

{title}

{description && (

{description}

)}
{aside && }
{!disableChildrenAnimation ? (
{children}
) : (
{children}
)}
); };