Skip to main content

component

Function component 

Source
pub fn component<C>(c: C) -> ComponentView<C>
where C: Component,
Expand description

Host a Component as a View — the view-fn spelling of ComponentView, mirroring the text(..)/button(..) vocabulary.