pub fn component<C: Component>(c: C) -> ComponentView<C>Expand description
Host a Component as a View — the view-fn spelling of
ComponentView, mirroring the text(..)/button(..) vocabulary.
pub fn component<C: Component>(c: C) -> ComponentView<C>Host a Component as a View — the view-fn spelling of
ComponentView, mirroring the text(..)/button(..) vocabulary.