Type Alias dioxus_core::Component
source · pub type Component<P = ()> = fn(_: P) -> Element;
Expand description
A Component
is a function that takes Properties
and returns an Element
.
pub type Component<P = ()> = fn(_: P) -> Element;
A Component
is a function that takes Properties
and returns an Element
.