Skip to content

pantoken / formats/components/src / badgeCss

Variable: badgeCss

const badgeCss: (this, options?) => string = badge.css

Beta

Standalone badge stylesheet — the prefixed CSS for the count-and-status badge, ready to ship as a .css file.

The standalone, header-wrapped stylesheet — what the exported xxxCss returns. Declared this: void because it's a plain closure (no receiver): callers bind it as export const buttonCss = button.css, so the annotation tells the linter the free-floating reference is safe.

Parameters

this

void

options?

ComponentOptions

Returns

string