allow raw elements if they include a dash

This commit is contained in:
Evan Almloff committed 2023-03-19 20:37:40 -05:00
1 parent 46cc07e048
commit 209a55da69
5 files changed
+141 -18

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
use dioxus::prelude::*;
fn main() {
dioxus_desktop::launch(app);
}
fn app(cx: Scope) -> Element {
cx.render(rsx! {
web-component {
"my-prop": "5%",
}
})
}