use leptos::prelude::*; use tw_merge::*; #[component] pub fn Separator( #[prop(into, optional)] orientation: Signal, #[prop(into, optional)] class: String, // children: Children, ) -> impl IntoView { let merged_class = Memo::new(move |_| { let orientation = orientation.get(); let separator = SeparatorClass { orientation }; separator.with_class(class.clone()) }); view! {