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.
pub fn Button<State: 'static, F: Fn(&mut State) + 'static>(
label: impl Into<String>,
on_press: F,
) -> ButtonView<State>PascalCase alias for button, matching the container view-fn vocabulary.