feat: move webview to wry
This commit is contained in:
1 parent
2547da36a0
commit
99d94b69ab
11 files changed
+419
-96
No files matched your search
+3
-6
@@ -20,12 +20,9 @@ static App: FC<()> = |cx| {
|
||||
|
||||
cx.render(rsx! {
|
||||
div {
|
||||
h1 { "Dioxus Desktop Demo" }
|
||||
p { "Count is {count}" }
|
||||
button {
|
||||
"Click to increment"
|
||||
onclick: move |_| count += 1
|
||||
}
|
||||
h1 { "Hifive counter: {count}" }
|
||||
button { onclick: move |_| count += 1, "Up high!" }
|
||||
button { onclick: move |_| count -= 1, "Down low!" }
|
||||
}
|
||||
})
|
||||
};
|
||||
Reference in new issue
Block a user