Trait yew::functional::FunctionProvider [−][src]
pub trait FunctionProvider {
type TProps: Properties + PartialEq;
fn run(props: &Self::TProps) -> Html;
}
Expand description
Trait that allows a struct to act as Function Component.
Associated Types
type TProps: Properties + PartialEq
type TProps: Properties + PartialEq
Properties for the Function Component.