Function freya_components::Body

source ·
pub fn Body(props: BodyProps) -> Element
Expand description

Usually used to wrap the application root component.

§Styling

Inherits the BodyTheme theme.

§Example

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