pub type Component<P = ()> = fn(P) -> Result<VNode, RenderError>;Available on crate feature
prelude only.Expand description
A Component is a function that takes Properties and returns an Element.
pub type Component<P = ()> = fn(P) -> Result<VNode, RenderError>;prelude only.A Component is a function that takes Properties and returns an Element.