Merge pull request #895 from Demonthos/inline-custom-elements

Allow raw elements if they include a dash
This commit is contained in:
Jon Kelley authored and GitHub committed 2023-05-29 15:05:19 +02:00
commit 7e96475951
5 files changed
+152 -18

No files matched your search

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