2
0
Fork 0
mirror of https://github.com/DioxusLabs/dioxus synced 2025-03-07 08:47:29 +00:00
dioxus/packages/desktop/examples/test.rs
2021-09-21 13:42:52 -04:00

16 lines
327 B
Rust

use dioxus_core as dioxus;
use dioxus_core::prelude::*;
use dioxus_html as dioxus_elements;
fn main() {
dioxus_desktop::launch(App, |f| f.with_window(|w| w.with_maximized(true))).expect("Failed");
}
static App: FC<()> = |cx, props|{
//
cx.render(rsx!(
div {
"hello world!"
}
))
};