Skip to main content

badge

DEFAULT_CSS_CLASSNAME​

const DEFAULT_CSS_CLASSNAME: "badge--secondary";

Defined in​

badge.ts:23


getTypeBadges()​

function getTypeBadges(type, groups?): Badge[]

Parameters​

β€’ type: unknown

β€’ groups?: Maybe<Partial<Record<SchemaEntity, Record<string, Maybe<string>>>>>

Returns​

Badge[]

Defined in​

badge.ts:25


printBadge()​

function printBadge(__namedParameters): MDXString

Parameters​

β€’ __namedParameters: Badge

Returns​

MDXString

Defined in​

badge.ts:73


printBadges()​

function printBadges(type, options): string | MDXString

Parameters​

β€’ type: unknown

β€’ options: PrintTypeOptions

Returns​

string | MDXString

Defined in​

badge.ts:79