components/badge
Type Aliases
Section titled “Type Aliases”BadgeTone
Section titled “BadgeTone”BadgeTone =
"neutral"|"primary"|"secondary"|"accent"|"success"|"info"|"warning"|"error"
Supported BadgeTone values.
BadgeSize
Section titled “BadgeSize”BadgeSize =
"sm"|"default"|"lg"
Supported BadgeSize values.
BadgeVariant
Section titled “BadgeVariant”BadgeVariant =
"solid"|"quiet"
Supported BadgeVariant values.
BadgeProps
Section titled “BadgeProps”BadgeProps =
object&HTMLAttributes<HTMLSpanElement>>
Props accepted by Badge.
Type Declaration
Section titled “Type Declaration”
optionalsize?:BadgeSize
variant?
Section titled “variant?”
optionalvariant?:BadgeVariant
optionaltone?:BadgeTone
Variables
Section titled “Variables”
constBadge:ForwardRefExoticComponent<object&HTMLAttributes<HTMLSpanElement> > &RefAttributes<HTMLSpanElement>>>>
A compact status or category label.