Add example images to widget docs
This commit is contained in:
parent
23d4d20e57
commit
e84e0b876c
5 changed files with 25 additions and 24 deletions
|
|
@ -36,6 +36,8 @@ use std::hash::Hash;
|
|||
/// Button::new(state, "Click me!")
|
||||
/// .on_press(Message::ButtonClicked);
|
||||
/// ```
|
||||
///
|
||||
/// 
|
||||
pub struct Button<'a, Message> {
|
||||
state: &'a mut State,
|
||||
label: String,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue