feat: props spread

This commit is contained in:
Koji AGAWA committed 2023-08-13 16:45:17 +09:00
1 parent 1ab5a03aef
commit d573f5dfd5
14 files changed
+301 -4

No files matched your search

+7
View File
@@ -1,5 +1,10 @@
#![allow(non_upper_case_globals)]
use dioxus_core::HasAttributesBox;
use dioxus_core::AttributeBox;
use dioxus_core::prelude::IntoAttributeValue;
use dioxus_html_internal_macro::impl_extension_attributes;
use crate::AttributeDiscription;
#[cfg(feature = "hot-reload-context")]
@@ -62,6 +67,8 @@ macro_rules! trait_methods {
)*
None
}
impl_extension_attributes![GLOBAL $trait { $($name,)* }];
};
// Rename the incoming ident and apply a custom namespace