fix tests around children elements
This commit is contained in:
4 files changed
+26
-8
No files matched your search
@@ -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} }
|
||||
/// })
|
||||
/// }
|
||||
/// ```
|
||||
|
||||
Reference in new issue
Block a user