1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use yew::prelude::*;

#[derive(Clone, PartialEq, Properties)]
pub struct Props {
    pub children: Children,
}

#[function_component(Content)]
pub fn content(props: &Props) -> Html {
    html! {
        <div class="pf-c-content">
            { for props.children.iter() }
        </div>
    }
}