ui: More component previews, UI component cleanup (#25302)
- Don't require ui component docs (this isn't really working) - Add more component previews - Update component preview style & navigation Release Notes: - N/A
This commit is contained in:
parent
c9235ff916
commit
5397ca23a1
52 changed files with 813 additions and 856 deletions
|
@ -14,8 +14,6 @@ use ui::prelude::*;
|
|||
pub enum ComponentStory {
|
||||
ApplicationMenu,
|
||||
AutoHeightEditor,
|
||||
Avatar,
|
||||
Button,
|
||||
CollabNotification,
|
||||
ContextMenu,
|
||||
Cursor,
|
||||
|
@ -47,8 +45,6 @@ impl ComponentStory {
|
|||
.new(|cx| title_bar::ApplicationMenuStory::new(window, cx))
|
||||
.into(),
|
||||
Self::AutoHeightEditor => AutoHeightEditorStory::new(window, cx).into(),
|
||||
Self::Avatar => cx.new(|_| ui::AvatarStory).into(),
|
||||
Self::Button => cx.new(|_| ui::ButtonStory).into(),
|
||||
Self::CollabNotification => cx
|
||||
.new(|_| collab_ui::notifications::CollabNotificationStory)
|
||||
.into(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue