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
| Name | Type | Required | Description |
|---|---|---|---|
children | ReactNode | Yes | |
editLink | { pattern: string; text?: string } | No | Edit link configuration (overrides ArdoSiteConfig) |
lastUpdated | { enabled?: boolean; text?: string; formatOptions?: Intl.DateTimeFormatOptions } | No | Last updated configuration (overrides ArdoSiteConfig) |
metaPlacement | "footer" | "footer-on-narrow" | "none" | No | Where to render edit/updated metadata (default: footer) |
outline | ReactNode | No | Optional in-page navigation, displayed after the article heading. |
header | ReactNode | No | Replace the article heading; false omits it. Undefined keeps the default. |
footer | ReactNode | No | Replace edit/updated metadata and previous/next links; false omits them. |
Props type: ArdoContentProps