Type Alias freya::prelude::Component

pub type Component<P = ()> = fn(_: P) -> Option<VNode>;
Expand description

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