Finish building out adapters and names
Document core traits Add start for a component storybook
This commit is contained in:
parent
bd3ab82dac
commit
e946b0a2ec
8 changed files with 213 additions and 153 deletions
|
@ -72,7 +72,7 @@ impl View for TestView {
|
|||
TextStyle::for_color(Color::blue()),
|
||||
)
|
||||
.with_style(ButtonStyle::fill(Color::yellow()))
|
||||
.stateful_element(),
|
||||
.element(),
|
||||
)
|
||||
.with_child(
|
||||
ToggleableButton::new(self.is_doubling, move |_, v: &mut Self, cx| {
|
||||
|
@ -84,7 +84,7 @@ impl View for TestView {
|
|||
inactive: ButtonStyle::fill(Color::red()),
|
||||
active: ButtonStyle::fill(Color::green()),
|
||||
})
|
||||
.stateful_element(),
|
||||
.element(),
|
||||
)
|
||||
.expanded()
|
||||
.contained()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue