Function freya_components::Body

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