Draft nodes for missing widgets
This commit is contained in:
parent
8834772fa7
commit
655978f480
16 changed files with 191 additions and 36 deletions
|
|
@ -47,9 +47,12 @@ use std::hash::Hash;
|
|||
///
|
||||
/// 
|
||||
pub struct Radio<Color, Message> {
|
||||
is_selected: bool,
|
||||
on_click: Message,
|
||||
label: String,
|
||||
/// Whether the radio button is selected or not
|
||||
pub is_selected: bool,
|
||||
/// The message to produce when the radio button is clicked
|
||||
pub on_click: Message,
|
||||
/// The label of the radio button
|
||||
pub label: String,
|
||||
label_color: Option<Color>,
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue