Skip to main content

danger_button

Function danger_button 

Source
pub fn danger_button<'a, Message: Clone + 'a>(
    label: &'a str,
    on_press: Message,
) -> Element<'a, Message>
Expand description

A button styled for destructive/irreversible actions. Reserve for things that actually destroy data (Delete) — a plain Cancel/Close is secondary_button, not this.