Saltar al contenido
⌘K

ArdoPublicationTags

Ver como Markdown
En esta página
Esta referencia de la API se genera a partir de los comentarios de TypeScript en inglés. Los nombres, las firmas y los ejemplos corresponden al paquete publicado.

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

NameTypeRequiredDescription
labelPublicationTagLabelNo
archivestringNoPath prefix of the tag archives, such as /news/tags/.
childrenReactNodeYes

Props type: { label?: PublicationTagLabel; archive?: string; children: ReactNode }