Jonathan Kelley 44a27bf8a3 Fix leak in render macro пре 1 година
..
all_terminal_events.rs 937be8b752 fix the on double click event and depreciate ondblclick (#1743) пре 1 година
border.rs f34fa5d974 Move dioxus-specifc code into dioxus-tui crate and rename core crate to Rink пре 2 година
buttons.rs f34fa5d974 Move dioxus-specifc code into dioxus-tui crate and rename core crate to Rink пре 2 година
color_test.rs f34fa5d974 Move dioxus-specifc code into dioxus-tui crate and rename core crate to Rink пре 2 година
colorpicker.rs fc31876a57 Wasm target check before build (#1689) пре 1 година
example.png f34fa5d974 Move dioxus-specifc code into dioxus-tui crate and rename core crate to Rink пре 2 година
flex.rs f34fa5d974 Move dioxus-specifc code into dioxus-tui crate and rename core crate to Rink пре 2 година
hover.rs a5d687f7af fix formatting пре 1 година
list.rs f34fa5d974 Move dioxus-specifc code into dioxus-tui crate and rename core crate to Rink пре 2 година
many_small_edit_stress.rs 44a27bf8a3 Fix leak in render macro пре 1 година
margin.rs f34fa5d974 Move dioxus-specifc code into dioxus-tui crate and rename core crate to Rink пре 2 година
quadrants.rs ed4709101c fix duplicate example names пре 2 година
readme_hello_world.rs ed4709101c fix duplicate example names пре 2 година
task.rs f34fa5d974 Move dioxus-specifc code into dioxus-tui crate and rename core crate to Rink пре 2 година
text.rs f34fa5d974 Move dioxus-specifc code into dioxus-tui crate and rename core crate to Rink пре 2 година
widgets.rs df222c121a port examples to new events пре 1 година

readme_hello_world.rs

use dioxus::prelude::*;

fn main() {
dioxus_tui::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!"
}
})
}