pub fn button<Msg: Clone + 'static>(
label: impl Into<String>,
on_press: impl Into<Msg>,
) -> Button<Msg>Expand description
Shorthand: a button with its click message.
button("Ajouter", Msg::Add) = Button::new("Ajouter").on_press(Msg::Add).