wip: queue mods

This commit is contained in:
Jonathan Kelley committed 2022-11-16 01:13:39 -08:00
1 parent ea7ab5f765
commit 66319cf6e2
4 files changed
+76 -26

No files matched your search

+12
View File
@@ -18,5 +18,17 @@ fn app(cx: Scope) -> Element {
onclick: move |_| val.set("invalid"),
"Set an invalid number"
}
(0..5).map(|i| rsx! {
demo_c { x: i }
})
})
}
#[inline_props]
fn demo_c(cx: Scope, x: i32) -> Element {
cx.render(rsx! {
h1 {
"asdasdasdasd {x}"
}
})
}