mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-12-25 12:03:08 +00:00
.. | ||
components.rs | ||
example.png | ||
frame.rs | ||
keys.rs | ||
layouts.rs | ||
list.rs | ||
margin.rs | ||
quadrants.rs | ||
readme.rs | ||
strecher.rs | ||
task.rs | ||
text.rs | ||
ui.rsx |
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!" } }) }