feat: tests list
This commit is contained in:
1 parent
9c4abcbea0
commit
09b2ff2736
3 files changed
+53
-8
No files matched your search
@@ -7,12 +7,10 @@ use dioxus_core::ElementId;
|
||||
fn nested_passthru_creates() {
|
||||
fn app(cx: Scope) -> Element {
|
||||
cx.render(rsx! {
|
||||
Child {
|
||||
Child {
|
||||
Child {
|
||||
div {
|
||||
"hi"
|
||||
}
|
||||
pass_thru {
|
||||
pass_thru {
|
||||
pass_thru {
|
||||
div { "hi" }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -20,8 +18,8 @@ fn nested_passthru_creates() {
|
||||
}
|
||||
|
||||
#[inline_props]
|
||||
fn Child<'a>(cx: Scope<'a>, children: Element<'a>) -> Element {
|
||||
cx.render(rsx! { children })
|
||||
fn pass_thru<'a>(cx: Scope<'a>, children: Element<'a>) -> Element {
|
||||
cx.render(rsx!(children))
|
||||
}
|
||||
|
||||
let mut dom = VirtualDom::new(app);
|
||||
|
||||
Reference in new issue
Block a user