pub fn text_button<State: 'static, F: Fn(&mut State) + 'static>(
label: impl Into<String>,
on_press: F,
) -> ButtonView<State>Expand description
Create a text (lowest-emphasis, chrome-free) button — M3EButton.text.
pub fn text_button<State: 'static, F: Fn(&mut State) + 'static>(
label: impl Into<String>,
on_press: F,
) -> ButtonView<State>Create a text (lowest-emphasis, chrome-free) button — M3EButton.text.