mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-10 14:44:12 +00:00
fallback to global attributes when mapping rsx rosetta html attribute names
This commit is contained in:
parent
bc557906fe
commit
682beeccfd
1 changed files with 8 additions and 0 deletions
|
@ -345,6 +345,14 @@ macro_rules! builder_constructors {
|
|||
)*
|
||||
)*
|
||||
|
||||
if let Some(name) = crate::map_html_global_attributes_to_rsx(html) {
|
||||
return Some(name);
|
||||
}
|
||||
|
||||
if let Some(name) = crate::map_html_svg_attributes_to_rsx(html) {
|
||||
return Some(name);
|
||||
}
|
||||
|
||||
None
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue