small change

This commit is contained in:
2024-11-21 19:44:52 +01:00
parent 24eb831c57
commit 1f4ac1b14f
3 changed files with 132 additions and 47 deletions
+6 -1
View File
@@ -1,12 +1,17 @@
// use std::sync::Arc;
use osui::prelude::*;
pub struct App {}
fn main() {
// let something = Arc::new(App {});
while osui::run(&mut app()) {}
}
fn app() -> Element {
rsx! { styling: Some(styles()),
button { class: "btn", id: "test", "This is a button!" }
button { class: "btn", "Hello, World!" }
}
}