Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Wire up `NotificationsPanel` story

Marshall Bowers080638216a08
diff --git a/crates/storybook2/src/story_selector.rs b/crates/storybook2/src/story_selector.rs
index 14edce568e0..0e9335b8161 100644
--- a/crates/storybook2/src/story_selector.rs
+++ b/crates/storybook2/src/story_selector.rs
@@ -70,6 +70,7 @@ pub enum ComponentStory {
Keybinding,
LanguageSelector,
MultiBuffer,
+ NotificationsPanel,
Palette,
Panel,
ProjectPanel,
@@ -131,6 +132,10 @@ impl ComponentStory {
ui::MultiBufferStory::new().into_any()
})
.into_any(),
+ Self::NotificationsPanel => view(cx.entity(|cx| ()), |_, _| {
+ ui::NotificationsPanelStory::new().into_any()
+ })
+ .into_any(),
Self::Palette => view(cx.entity(|cx| ()), |_, _| {
ui::PaletteStory::new().into_any()
})