Skip to content

blocks/release-tag

ReleaseTagEntry = Readonly<{ name: string; version: string; }>

One shipped thing and its version, printed under the tag.


ReleaseTagProps = Omit<HTMLAttributes<HTMLElement>>, "title"> > & object

Props accepted by ReleaseTag.

title: readonly string[]

One or two short lines printed large on the tag, such as [“Fungi”, “Beta”].

optional label?: ReactNode

A small accent strip under the title, such as “Update”.

entries: readonly ReleaseTagEntry[]

ReleaseTag(__namedParameters): Element

A release badge: a torn-off calendar page with binder rings, a stacked title, one accent strip and a ruled list of names and versions below. Presentation only; the caller supplies every word.

ReleaseTagProps

Element