Function freya::prelude::CursorArea
source · pub fn CursorArea<'a>(
cx: &'a Scoped<'a, CursorAreaProps<'a>>
) -> Option<VNode<'a>>
Expand description
CursorArea
component.
Props
See CursorAreaProps
.
Example
fn app(cx: Scope) -> Element {
render!(
CursorArea {
icon: CursorIcon::Progress,
label {
height: "100%",
width: "100%",
"Loading"
}
}
)
}