Skip to content
This repository was archived by the owner on Feb 2, 2026. It is now read-only.

Commit 6ddbbd7

Browse files
fix(separator): enable book example for Leptos (#525)
1 parent fcd6033 commit 6ddbbd7

1 file changed

Lines changed: 10 additions & 7 deletions

File tree

  • book-examples/leptos/primitives/src

book-examples/leptos/primitives/src/app.rs

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,16 @@ pub fn App() -> impl IntoView {
4545
// <ProgressDemo />
4646
// });
4747
// }
48-
// #[cfg(feature = "separator")]
49-
// {
50-
// use crate::separator::SeparatorDemo;
51-
// views.push(view! {
52-
// <SeparatorDemo />
53-
// });
54-
// }
48+
#[cfg(feature = "separator")]
49+
{
50+
use crate::separator::SeparatorDemo;
51+
views.push(
52+
view! {
53+
<SeparatorDemo />
54+
}
55+
.into_any(),
56+
);
57+
}
5558
// #[cfg(feature = "switch")]
5659
// {
5760
// use crate::switch::SwitchDemo;

0 commit comments

Comments
 (0)