Function freya::prelude::Body

pub fn Body(props: BodyProps) -> Option<VNode>
Expand description

Usually used to wrap the application root component.

§Styling

Inherits the BodyTheme theme.

§Example

fn app() -> Element {
    rsx!(
        Body {
            label {
                "Click this"
            }
        }
    )
}