docs: fix For view prop name (closes #1813) (#1814)

This commit is contained in:
Greg Johnston
2023-09-30 15:49:26 -04:00
committed by GitHub
parent d869bc6675
commit 6b40ca36a5

View File

@@ -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