Function freya::prelude::CursorArea

pub fn CursorArea(_: CursorAreaProps) -> Option<VNode>
Expand description

CursorArea component.

Props

See CursorAreaProps.

Example

fn app() -> Element {
    rsx!(
        CursorArea {
            icon: CursorIcon::Progress,
            label {
                height: "100%",
                width: "100%",
                "Loading"
            }
        }
    )
}