feat: flatten props attrs
This commit is contained in:
1 parent
f4132d1874
commit
d2372717bd
4 files changed
+79
-118
No files matched your search
@@ -11,7 +11,7 @@ use crate::RouterService;
|
||||
pub struct RouterProps<'a> {
|
||||
children: Element<'a>,
|
||||
|
||||
#[props(default, setter(strip_option))]
|
||||
#[props(default, strip_option)]
|
||||
onchange: Option<&'a Fn(&'a str)>,
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user