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