Skip to main content

Button

Function Button 

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

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