dioxus/packages/autofmt/tests/samples/trailing_expr.rsx
2023-01-17 16:24:29 -08:00

7 lines
173 B
R

fn it_works() {
cx.render(rsx! {
div {
span { "Description: ", package.description.as_deref().unwrap_or("❌❌❌❌ missing") }
}
})
}