feat: Support generic component with inline_props with some limitation

This commit is contained in:
Muhannad Alrusayni committed 2022-06-04 13:40:50 +03:00
1 parent a55b56b403
commit 0b5b7f09db
2 files changed
+18 -4

No files matched your search

+3 -1
View File
@@ -653,7 +653,9 @@ Finally, call `.build()` to create the instance of `{name}`.
}
}
impl #impl_generics dioxus::prelude::Properties for #name #ty_generics{
impl #impl_generics dioxus::prelude::Properties for #name #ty_generics
#b_generics_where_extras_predicates
{
type Builder = #builder_name #generics_with_empty;
const IS_STATIC: bool = #is_static;
fn builder() -> Self::Builder {