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
|
@ -205,6 +205,7 @@ impl RenderOnce for KeybindingHint {
|
|||
}
|
||||
}
|
||||
|
||||
// View this component preview using `workspace: open component-preview`
|
||||
impl ComponentPreview for KeybindingHint {
|
||||
fn preview(window: &mut Window, _cx: &App) -> AnyElement {
|
||||
let enter_fallback = gpui::KeyBinding::new("enter", menu::Confirm, None);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue