import { FC, ReactNode } from 'react'; import Container from '@/components/ui/Container'; import { cn } from '@/utils/styling'; import { SectionParameters } from '.'; type DefaultVariantProps = { backgroundColor?: SectionParameters['backgroundColor']; spacing?: SectionParameters['spacing']; border?: SectionParameters['border']; fluidContent?: SectionParameters['fluidContent']; height?: SectionParameters['height']; sectionMedia: ReactNode; sectionContent: ReactNode; sectionCTA: ReactNode; textAlignmentClass: string; buttonAlignmentClass: string; }; export const DefaultVariant: FC = ({ backgroundColor, spacing, border, fluidContent, height, sectionMedia, sectionContent, sectionCTA, textAlignmentClass, buttonAlignmentClass, }) => (
{sectionMedia}
{sectionContent &&
{sectionContent}
} {sectionCTA &&
{sectionCTA}
}
);