Skip to main content

leptos_shadcn_switch/
lib.rs

1//! Leptos port of shadcn/ui switch
2
3pub mod signal_managed;
4pub mod default;
5pub mod new_york;
6
7pub use default::{
8    Switch, SwitchRoot, SwitchThumb, SwitchLabel, SwitchVariant, SwitchSize
9};
10pub use new_york::{
11    Switch as SwitchNewYork, SwitchRoot as SwitchRootNewYork, 
12    SwitchThumb as SwitchThumbNewYork, SwitchLabel as SwitchLabelNewYork,
13    SwitchVariant as SwitchVariantNewYork, SwitchSize as SwitchSizeNewYork
14};
15
16mod tests;
17
18mod tdd_tests;
19
20mod implementation_tests;
21
22// Signal-managed exports
23pub use signal_managed::*;