Function freya::prelude::Body

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

Body component.

Usually just used one time and as a root component for all the app.

§Props

See BodyProps.

§Styling

Inherits the BodyTheme theme.

§Example

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