Skip to main content

BadgeKind

Type Alias BadgeKind 

Source
pub type BadgeKind = StatusKind;
👎Deprecated:

status labels are not M3 badges: use StatusKind with status_chip

Expand description

Former name of StatusKind: these are status labels, not M3 badges.

Aliased Type§

pub enum BadgeKind {
    Success,
    Warning,
    Danger,
    Progress,
    Neutral,
    Tonal,
}

Variants§

§

Success

§

Warning

§

Danger

§

Progress

§

Neutral

§

Tonal

An identity rather than a status, e.g. “Default”.