Add preview for Checkbox with Label (#20448)
Add previews for Checkbox with Label. Merge checkbox components. Release Notes: - N/A
This commit is contained in:
parent
31a6ee0229
commit
0a28800049
8 changed files with 90 additions and 222 deletions
|
@ -5,7 +5,7 @@ use theme::all_theme_colors;
|
|||
use ui::{
|
||||
element_cell, prelude::*, string_cell, utils::calculate_contrast_ratio, AudioStatus,
|
||||
Availability, Avatar, AvatarAudioStatusIndicator, AvatarAvailabilityIndicator, ButtonLike,
|
||||
Checkbox, ElevationIndex, Facepile, Indicator, Table, TintColor, Tooltip,
|
||||
Checkbox, CheckboxWithLabel, ElevationIndex, Facepile, Indicator, Table, TintColor, Tooltip,
|
||||
};
|
||||
|
||||
use crate::{Item, Workspace};
|
||||
|
@ -510,6 +510,7 @@ impl ThemePreview {
|
|||
.size_full()
|
||||
.gap_2()
|
||||
.child(Checkbox::render_component_previews(cx))
|
||||
.child(CheckboxWithLabel::render_component_previews(cx))
|
||||
.child(Facepile::render_component_previews(cx))
|
||||
.child(Button::render_component_previews(cx))
|
||||
.child(Indicator::render_component_previews(cx))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue