fix tests around children elements

This commit is contained in:
Jonathan Kelley committed 2024-01-10 23:42:36 -08:00
1 parent b8061d6d14
commit 8a77d2560e
4 files changed
+26 -8

No files matched your search

+1 -1
View File
@@ -78,7 +78,7 @@ use std::{
/// #[component]
/// fn Title<'a>(cx: Scope<'a>, children: Element<'a>) -> Element {
/// cx.render(rsx! {
/// div { id: "title", children }
/// div { id: "title", {children} }
/// })
/// }
/// ```