wip: move some examples around

This commit is contained in:
Jonathan Kelley committed 2021-07-07 16:19:10 -04:00
1 parent cca7c5fc3a
commit 98a09339fd
70 files changed
+111 -117

No files matched your search

+8 -5
View File
@@ -133,14 +133,17 @@ impl ToTokens for Component {
let childs = &self.children;
let children = quote! {
ChildrenList::new(__cx)
#( .add_child(#childs) )*
.finish()
[ #( #childs ),* ]
};
// ChildrenList::new(__cx)
// #( .add_child(#childs) )*
// .finish()
// ChildrenList::new(__cx)
// #( .add_child(#childs) )*
// .finish()
tokens.append_all(quote! {
dioxus::builder::virtual_child(
__cx,
__cx.virtual_child(
#name,
#builder,
#key_token,