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

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!"
}
})
}