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