import { type ForwardRefRenderFunction, type HTMLAttributes, type ReactNode, forwardRef, } from 'react'; export type ArticleProps = HTMLAttributes & { /** * The article contents. */ children: ReactNode; }; const ArticleWithRef: ForwardRefRenderFunction = ( props, ref ) =>
; /** * Article component. */ export const Article = forwardRef(ArticleWithRef);