import { type ForwardRefRenderFunction, type HTMLAttributes, type ReactNode, forwardRef, } from 'react'; export type HeaderProps = HTMLAttributes & { /** * The header contents. */ children: ReactNode; }; const HeaderWithRef: ForwardRefRenderFunction = ( props, ref ) =>
; /** * Header component. */ export const Header = forwardRef(HeaderWithRef);