Skip to main content

Button

Function Button 

Source
pub fn Button<State, F>(
    label: impl Into<String>,
    on_press: F,
) -> ButtonView<State>
where State: 'static, F: Fn(&mut State) + 'static,
Expand description

PascalCase alias for button, matching the container view-fn vocabulary.