Skip to content
CtrlK

ArdoContent

On this page

The article of a documentation page: title, lede, the page content, edit link, last-updated date, and previous and next links.

import { ArdoContent } from "ardo/ui"

<ArdoContent>{children}</ArdoContent>

Props

NameTypeRequiredDescription
childrenReactNodeYes
editLink{ pattern: string; text?: string }NoEdit link configuration (overrides ArdoSiteConfig)
lastUpdated{ enabled?: boolean; text?: string; formatOptions?: Intl.DateTimeFormatOptions }NoLast updated configuration (overrides ArdoSiteConfig)
metaPlacement"footer" | "footer-on-narrow" | "none"NoWhere to render edit/updated metadata (default: footer)
outlineReactNodeNoOptional in-page navigation, displayed after the article heading.
headerReactNodeNoReplace the article heading; false omits it. Undefined keeps the default.
footerReactNodeNoReplace edit/updated metadata and previous/next links; false omits them.

Props type: ArdoContentProps