pub fn Body<'a>(cx: &'a Scoped<'a, BodyProps<'a>>) -> Option<VNode<'a>>
Expand description
Body
component.
Usually just used one time and as a root component for all the app.
See BodyProps
.
Inherits the BodyTheme
theme.
fn app(cx: Scope) -> Element {
render!(
Body {
label {
"Click this"
}
}
)
}