dioxus/examples/web_component.rs
2023-03-19 20:47:16 -05:00

13 lines
197 B
Rust

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