Skip to content

Commit

Permalink
Update docs/rendering_iterables.md
Browse files Browse the repository at this point in the history
Co-authored-by: Masen Furer <m_github@0x26.net>
  • Loading branch information
tgberkeley and masenf authored Dec 12, 2023
1 parent a76d8de commit 6833199
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/rendering_iterables.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class ForeachState(rx.State):


def colored_box(color: str):
return rx.box(rx.text(color), bg=color)
return rx.box(rx.text(color), background_color=color)


def simple_foreach():
Expand Down

0 comments on commit 6833199

Please sign in to comment.