pub type Component<P = ()> = fn(_: P) -> Result<VNode, RenderError>;Expand description
A Component is a function that takes Properties and returns an Element.
pub type Component<P = ()> = fn(_: P) -> Result<VNode, RenderError>;A Component is a function that takes Properties and returns an Element.