Skip to content

Commit

Permalink
docs: fix For view prop name (closes #1813)
Browse files Browse the repository at this point in the history
  • Loading branch information
gbj committed Sep 30, 2023
1 parent d869bc6 commit 5ff13cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/book/src/view/04_iteration.md
Original file line number Diff line number Diff line change
Expand Up @@ -229,9 +229,9 @@ fn DynamicList(
// can only grow, because moving items around inside the list
// means their indices will change and they will all rerender
key=|counter| counter.0
// the view function receives each item from your `each` iterator
// `children` receives each item from your `each` iterator
// and returns a view
view=move |(id, (count, set_count))| {
children=move |(id, (count, set_count))| {
view! {
<li>
<button
Expand Down

0 comments on commit 5ff13cb

Please sign in to comment.