mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-10 14:44:12 +00:00
remove static bound from props
This commit is contained in:
parent
a2c7b69a1d
commit
998f9e0d00
1 changed files with 1 additions and 1 deletions
|
@ -417,7 +417,7 @@ impl<'src> ScopeState {
|
|||
/// fn(Scope<Props>) -> Element;
|
||||
/// async fn(Scope<Props<'_>>) -> Element;
|
||||
/// ```
|
||||
pub fn component<P: 'static>(
|
||||
pub fn component<P>(
|
||||
&'src self,
|
||||
component: fn(Scope<'src, P>) -> Element<'src>,
|
||||
props: P,
|
||||
|
|
Loading…
Reference in a new issue