Add ToggleButton component

This commit is contained in:
Marshall Bowers 2023-12-20 18:23:21 -05:00
parent 56f2b963ef
commit 443b1dd345
6 changed files with 242 additions and 1 deletions

View file

@ -31,6 +31,7 @@ pub enum ComponentStory {
Scroll,
Tab,
TabBar,
ToggleButton,
Text,
ViewportUnits,
ZIndex,
@ -62,6 +63,7 @@ impl ComponentStory {
Self::Text => TextStory::view(cx).into(),
Self::Tab => cx.build_view(|_| ui::TabStory).into(),
Self::TabBar => cx.build_view(|_| ui::TabBarStory).into(),
Self::ToggleButton => cx.build_view(|_| ui::ToggleButtonStory).into(),
Self::ViewportUnits => cx.build_view(|_| crate::stories::ViewportUnitsStory).into(),
Self::ZIndex => cx.build_view(|_| ZIndexStory).into(),
Self::Picker => PickerStory::new(cx).into(),