Evan Almloff 7a1fdeb673 added more mouse events 3 years ago
..
components.rs 86535e150f fix: cargo fmt and readme update 3 years ago
example.png 7b29fbbad0 wip: add an image 3 years ago
frame.rs 395558232e updates: move to stable versions 3 years ago
hover.rs 7a1fdeb673 added more mouse events 3 years ago
keys.rs a03ab3edfb fixed mouse 3 years ago
layouts.rs 86535e150f fix: cargo fmt and readme update 3 years ago
list.rs 395558232e updates: move to stable versions 3 years ago
margin.rs 395558232e updates: move to stable versions 3 years ago
quadrants.rs 395558232e updates: move to stable versions 3 years ago
readme.rs 395558232e updates: move to stable versions 3 years ago
strecher.rs dc34805ee6 feat: wire up stretch into place 3 years ago
task.rs e2f6d87d8e added component rendering and updated dioxus version 3 years ago
text.rs 395558232e updates: move to stable versions 3 years ago
ui.rsx 395558232e updates: move to stable versions 3 years ago

readme.rs

use dioxus::prelude::*;

fn main() {
rink::launch(app);
}

fn app(cx: Scope) -> Element {
cx.render(rsx! {
div {
width: "100%",
height: "10px",
background_color: "red",
justify_content: "center",
align_items: "center",

"Hello world!"
}
})
}