Function freya::components::Body

source ·
pub fn Body(props: 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"
            }
        }
    )
}