mirror of
https://github.com/leptos-rs/leptos
synced 2024-11-10 06:44:17 +00:00
docs: Add missing argument name to WrapsChildren component (#1866)
This commit is contained in:
parent
b61d0553a0
commit
18ad7cde20
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ a component that takes its children and turns them into an unordered list.
|
|||
|
||||
```rust
|
||||
#[component]
|
||||
pub fn WrapsChildren(Children) -> impl IntoView {
|
||||
pub fn WrapsChildren(children: Children) -> impl IntoView {
|
||||
// Fragment has `nodes` field that contains a Vec<View>
|
||||
let children = children()
|
||||
.nodes
|
||||
|
|
Loading…
Reference in a new issue