components/badge
@fungi.computer/caps / components/badge
components/badge
Section titled “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.
BadgeProps
Section titled “BadgeProps”BadgeProps =
object&HTMLAttributes<HTMLSpanElement>>
Props accepted by Badge.
Type Declaration
Section titled “Type Declaration”
optionalsize?:BadgeSize
optionaltone?:BadgeTone
Variables
Section titled “Variables”
constBadge:ForwardRefExoticComponent<object&HTMLAttributes<HTMLSpanElement> > &RefAttributes<HTMLSpanElement>>>>
A compact status or category label.