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

Warning when the width property is not a string #4

Open
mnieber opened this issue Nov 14, 2019 · 1 comment
Open

Warning when the width property is not a string #4

mnieber opened this issue Nov 14, 2019 · 1 comment

Comments

@mnieber
Copy link

mnieber commented Nov 14, 2019

Setting the width property to "20rem" seems to work fine but produces a console warning:

Warning: Failed prop type: Invalid prop width of type string supplied to CheeseburgerMenu, expected number.

I think the expected prop type should be string, right?

@chrisnajman
Copy link

Yes, 20rem is a string.

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

No branches or pull requests

2 participants