ArdoPublicationTags
Auf dieser Seite
Diese API-Referenz wird aus den englischen TypeScript-Quellkommentaren erzeugt. Namen, Signaturen und Beispiele entsprechen dem veröffentlichten Paket.
Provides tag labels and archive links to a generated publication route. Ardo's generated routes render it; the label function is called during rendering, inside the site's render context.
import { ArdoPublicationTags } from "ardo/ui"
<ArdoPublicationTags>{children}</ArdoPublicationTags>
Props
| Name | Type | Required | Description |
|---|---|---|---|
label | PublicationTagLabel | No | |
archive | string | No | Path prefix of the tag archives, such as /news/tags/. |
children | ReactNode | Yes |
Props type: { label?: PublicationTagLabel; archive?: string; children: ReactNode }