freya::componentsFunction Body
Source pub fn Body(_: BodyProps) -> Result<VNode, RenderError>
Expand description
Usually used to wrap the application root component.
§Styling
Inherits the BodyTheme
theme.
§Example
fn app() -> Element {
rsx!(
Body {
label {
"Click this"
}
}
)
}