feat: flatten props attrs

This commit is contained in:
Jonathan Kelley committed 2022-01-10 02:57:03 -05:00
1 parent f4132d1874
commit d2372717bd
4 files changed
+79 -118

No files matched your search

+1 -1
View File
@@ -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)>,
}