import { ComponentProps , ReactNode , forwardRef } from "react" ; import { InternalProps , OmitInternalProps , StyledHtmlAttributes } from "../../shared" ; export interface InnerSectionProps extends InternalProps , StyledHtmlAttributes { /**
     * React children.
     */ children : ReactNode ; } export function InnerSection ( props ) { return null ; } export const Section = forwardRef < any , OmitInternalProps < InnerSectionProps > > ( ( props , ref ) => ( < InnerSection { ... props } forwardedRef = { ref } / > ) ) ; export type SectionProps = ComponentProps < typeof Section > ;