Skip to main content

component

Function component 

Source
pub fn component<P, F, V>(render: F) -> Component<P, F, V>
where F: Fn(P) -> V, V: IntoView,