Function freya::components::CursorArea
source · pub fn CursorArea(_: CursorAreaProps) -> Option<VNode>
Expand description
Change the cursor icon when it’s hovering over this component.
§Example
fn app() -> Element {
rsx!(
CursorArea {
icon: CursorIcon::Progress,
label {
height: "100%",
width: "100%",
"Loading"
}
}
)
}