import { forwardRef, type ForwardRefRenderFunction, type HTMLAttributes, } from 'react'; export type SectionProps = HTMLAttributes; const SectionWithRef: ForwardRefRenderFunction = ( { children, ...props }, ref ) => (
{children}
); /** * Section component * * Render a section element with a heading and a body. */ export const Section = forwardRef(SectionWithRef);