createBadge(text: string,props?: BadgeProps): HTMLSpanElement
Create a badge DOM element
Use this when building UI imperatively in vanilla JS.
optional
props: BadgeProps
Badge configuration
createBadge(text: string,props?: BadgeProps): HTMLSpanElement
Create a badge DOM element
Use this when building UI imperatively in vanilla JS.
props: BadgeProps
Badge configuration
import { createBadge } from ".";