Evan Almloff 3f31b9de43 fix tests il y a 1 an
..
all_terminal_events.rs ed4709101c fix duplicate example names il y a 2 ans
border.rs f34fa5d974 Move dioxus-specifc code into dioxus-tui crate and rename core crate to Rink il y a 2 ans
buttons.rs f34fa5d974 Move dioxus-specifc code into dioxus-tui crate and rename core crate to Rink il y a 2 ans
color_test.rs f34fa5d974 Move dioxus-specifc code into dioxus-tui crate and rename core crate to Rink il y a 2 ans
colorpicker.rs 2871c8bb4d Don't use boxed cell slice, use a refcell instead il y a 2 ans
example.png f34fa5d974 Move dioxus-specifc code into dioxus-tui crate and rename core crate to Rink il y a 2 ans
flex.rs f34fa5d974 Move dioxus-specifc code into dioxus-tui crate and rename core crate to Rink il y a 2 ans
hover.rs 3f31b9de43 fix tests il y a 1 an
list.rs f34fa5d974 Move dioxus-specifc code into dioxus-tui crate and rename core crate to Rink il y a 2 ans
many_small_edit_stress.rs ed4709101c fix duplicate example names il y a 2 ans
margin.rs f34fa5d974 Move dioxus-specifc code into dioxus-tui crate and rename core crate to Rink il y a 2 ans
quadrants.rs ed4709101c fix duplicate example names il y a 2 ans
readme_hello_world.rs ed4709101c fix duplicate example names il y a 2 ans
task.rs f34fa5d974 Move dioxus-specifc code into dioxus-tui crate and rename core crate to Rink il y a 2 ans
text.rs f34fa5d974 Move dioxus-specifc code into dioxus-tui crate and rename core crate to Rink il y a 2 ans
widgets.rs 625dc662d2 make TUI widgets cross framework il y a 2 ans

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