Function sauron::prelude::dom::component

source ·
pub fn component<COMP>(app: &COMP) -> Node<<COMP as Component>::MSG>
where COMP: Component + 'static,
Expand description

create a stateless component node