Add Tool Strip (#11756)

Release Notes:

- N/A

---------

Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>
This commit is contained in:
Nate Butler 2024-05-13 17:58:08 -04:00 committed by GitHub
parent 335636c42e
commit 1ab247756a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 97 additions and 1 deletions

View file

@ -38,6 +38,7 @@ pub enum ComponentStory {
Text,
TitleBar,
ToggleButton,
ToolStrip,
ViewportUnits,
}
@ -73,6 +74,7 @@ impl ComponentStory {
Self::TabBar => cx.new_view(|_| ui::TabBarStory).into(),
Self::TitleBar => cx.new_view(|_| ui::TitleBarStory).into(),
Self::ToggleButton => cx.new_view(|_| ui::ToggleButtonStory).into(),
Self::ToolStrip => cx.new_view(|_| ui::ToolStripStory).into(),
Self::ViewportUnits => cx.new_view(|_| crate::stories::ViewportUnitsStory).into(),
Self::Picker => PickerStory::new(cx).into(),
}