ui: Update Label component (#24653)
- Standardize style methods - Convert label story to a component preview - update component preview styles Release Notes: - N/A
This commit is contained in:
parent
aab3e0495d
commit
2d71733490
27 changed files with 182 additions and 151 deletions
|
@ -25,7 +25,6 @@ pub enum ComponentStory {
|
|||
Icon,
|
||||
IconButton,
|
||||
Keybinding,
|
||||
Label,
|
||||
List,
|
||||
ListHeader,
|
||||
ListItem,
|
||||
|
@ -61,7 +60,6 @@ impl ComponentStory {
|
|||
Self::Icon => cx.new(|_| ui::IconStory).into(),
|
||||
Self::IconButton => cx.new(|_| ui::IconButtonStory).into(),
|
||||
Self::Keybinding => cx.new(|_| ui::KeybindingStory).into(),
|
||||
Self::Label => cx.new(|_| ui::LabelStory).into(),
|
||||
Self::List => cx.new(|_| ui::ListStory).into(),
|
||||
Self::ListHeader => cx.new(|_| ui::ListHeaderStory).into(),
|
||||
Self::ListItem => cx.new(|_| ui::ListItemStory).into(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue