Function freya_components::CursorArea
source · pub fn CursorArea<'a>(cx: Scope<'a, CursorAreaProps<'a>>) -> Element<'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"
}
}
)
}