Component

Type Alias Component 

Source
pub type Component<P = ()> = fn(P) -> Element;
Expand description

A Component is a function that takes Properties and returns an Element.