Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spacing prop does not accept list value #35

Open
Davydhh opened this issue Oct 4, 2023 · 3 comments
Open

Spacing prop does not accept list value #35

Davydhh opened this issue Oct 4, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@Davydhh
Copy link

Davydhh commented Oct 4, 2023

Hi guys, trying to make my app responsive I've set the 'spacing' prop of the hstack with a list, in order to support all screen sizes, but I got the error: TypeError: Invalid var passed for prop spacing, expected type <class 'str'>, got value [5, 10, 15, 20, 25] of type <class 'list'>.

Thank you

@Lendemor
Copy link

Lendemor commented Oct 5, 2023

spacing is a prop that come from Chakra.

I don't see anything in their docs on the stack page that suggest it would accept a list instead of a str value.

@Davydhh
Copy link
Author

Davydhh commented Oct 7, 2023

Yes, I know, but a team member advised me to make an issue about this.

@Lendemor Lendemor added the enhancement New feature or request label Oct 12, 2023
@Lendemor Lendemor transferred this issue from reflex-dev/reflex Jan 22, 2025
Copy link

linear bot commented Jan 22, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants