Make more examples cross-platform

This commit is contained in:
Jonathan Kelley committed 2024-01-20 00:11:55 -08:00
1 parent 552ce92c64
commit 3ded0f5329
23 files changed
+99 -105

No files matched your search

+6 -6
View File
@@ -1,5 +1,9 @@
use dioxus::prelude::*;
fn main() {
launch(app);
}
fn app() -> Element {
rsx! {
svg {
@@ -71,13 +75,9 @@ fn app() -> Element {
path {
d: "M9.00001 9C9 62 103.5 124 103.5 178",
stroke: "#3CC4DC",
"stroke-linecap": "square",
"stroke-width": "square",
stroke_linecap: "square",
stroke_width: "5",
}
}
}
}
fn main() {
launch_desktop(app);
}