Skip to content

Commit

Permalink
table
Browse files Browse the repository at this point in the history
  • Loading branch information
marc2332 committed Sep 30, 2024
1 parent 6ddd706 commit 4111664
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions crates/components/src/switch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,6 @@ pub enum SwitchStatus {
/// ```
///
/// # Preview
///
/// #### Enabled
/// <!--- PREVIEW not_enabled_switch (200.,150.)
/// use freya::prelude::*;
/// fn app() -> Element {
Expand All @@ -84,9 +82,6 @@ pub enum SwitchStatus {
/// )
/// }
/// -->
/// ![Switch Not Enabled Demo][not_enabled_switch]
///
/// #### Not Enabled
/// <!--- PREVIEW enabled_switch (200.,150.)
/// use freya::prelude::*;
/// fn app() -> Element {
Expand All @@ -105,7 +100,10 @@ pub enum SwitchStatus {
/// }
/// -->
///
/// ![Switch Enabled Demo][enabled_switch]
/// | Enabled | Not Enabled |
/// | ------------- | ------------- |
/// |![Switch Not Enabled Demo][not_enabled_switch] | ![Switch Enabled Demo][enabled_switch] |
///
#[embed_doc_image::embed_doc_image("not_enabled_switch", "images/not_enabled_switch.png")]
#[embed_doc_image::embed_doc_image("enabled_switch", "images/enabled_switch.png")]
#[allow(non_snake_case)]
Expand Down

0 comments on commit 4111664

Please sign in to comment.