Trait Component
pub trait Component<T, V, S>where
T: Props,{
// Required method
fn create(self, props: T) -> V;
}
Expand description
A trait that is automatically implemented by all components.
Required Methods§
fn create(self, props: T) -> V
fn create(self, props: T) -> V
Instantiate the component with the given props and reactive scope.