import clsx from 'clsx'; import { type ComponentPropsWithoutRef, forwardRef } from 'react'; export function Section(props: ComponentPropsWithoutRef<'div'>) { return
; } export function SectionHeader(props: ComponentPropsWithoutRef<'div'>) { return (
); } export function SectionHeaderContent(props: ComponentPropsWithoutRef<'div'>) { return (
); } export const SectionBody = forwardRef(function SectionBody( props: ComponentPropsWithoutRef<'div'>, ref: React.ForwardedRef ) { return (
); }); export function SectionFooter(props: ComponentPropsWithoutRef<'div'>) { return (
); } export function SectionFooterContent(props: ComponentPropsWithoutRef<'div'>) { return (
); } export function StaticSection(props: { className: string; header?: React.ReactNode; children: React.ReactNode; footer?: React.ReactNode; }) { const { className, header, children, footer } = props; return (
{header ? ( {header} ) : null} {children} {footer ? ( {footer} ) : null}
); }