wip: docs

This commit is contained in:
Jonathan Kelley committed 2021-10-27 14:54:49 -04:00
1 parent 9839f52355
commit a42711a324
5 files changed
+43 -36

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
use dioxus::prelude::*;
fn main() {
dioxus::desktop::launch(App, |c| c);
}
fn App((cx, props): Component<()>) -> DomTree {
cx.render(rsx! (
div { "Hello, world!" }
))
}