dioxus/packages/core/examples/text.rs

17 lines
255 B
Rust
Raw Normal View History

2021-05-31 22:55:56 +00:00
use dioxus_core::prelude::*;
use dioxus_core_macro::format_args_f;
fn main() {
let num = 123;
let b = Bump::new();
let g = rsx! {
div {
"abc {num}"
div {
"asd"
}
}
};
}