leptos_forge 0.6.3

Build and test your Leptos components
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Content of the story

use leptos::prelude::*;

/// Content of the page
#[component]
pub fn Content(
    /// children components
    children: Children,
) -> impl IntoView {
    view! {
        <div class="leptos-forge-content divide-solid flex flex-row flex-1 overflow-hidden print:overflow-visible">
            { children() }
        </div>
    }
}