-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Description
Typo error extra \:
style=\{"_hover"
need to be:
style={"_hover"
On:
def show_user(user: User):
"""Show a user in a table row."""
return rx.table.row(
rx.table.cell(user.name),
rx.table.cell(user.email),
rx.table.cell(user.gender),
style=\{"_hover":
{"bg": rx.color("gray", 3)}
},
align="center",
)
is:
def show_user(user: User):
"""Show a user in a table row."""
return rx.table.row(
rx.table.cell(user.name),
rx.table.cell(user.email),
rx.table.cell(user.gender),
style={"_hover":
{"bg": rx.color("gray", 3)}
},
align="center",
)
The same in Conclusion:
Finally let's make some final styling updates to our app. We will add some hover styling to the table rows and center the table inside the show_user with style=\{"_hover": {"bg": rx.color("gray", 3)}}, align="center".
is:
Finally let's make some final styling updates to our app. We will add some hover styling to the table rows and center the table inside the show_user with style={"_hover": {"bg": rx.color("gray", 3)}}, align="center".
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation