Allow spread attributes to be set directly (#3881)
* allow spread attributes to be set directly * Remove ordering requirement
This commit is contained in:
1 parent
8c866b783d
commit
589440b9cb
3 files changed
+119
-42
No files matched your search
@@ -2,6 +2,14 @@ use super::*;
|
||||
use crate::document;
|
||||
use dioxus_html as dioxus_elements;
|
||||
|
||||
#[non_exhaustive]
|
||||
#[derive(Clone, Props, PartialEq)]
|
||||
pub struct OtherLinkProps {
|
||||
pub rel: String,
|
||||
#[props(extends = link, extends = GlobalAttributes)]
|
||||
pub additional_attributes: Vec<Attribute>,
|
||||
}
|
||||
|
||||
#[non_exhaustive]
|
||||
#[derive(Clone, Props, PartialEq)]
|
||||
pub struct LinkProps {
|
||||
|
||||
Reference in new issue
Block a user