Can't set props that aren't strings
ggarnier opened this issue · 2 comments
ggarnier commented
When I try to live edit a prop that isn't a string (like a function or an object), I get this warning:
Warning: Failed propType: Invalid prop `something` of type `string` supplied to `MyComponent`, expected `object`.
Seems like prop values are being automatically converted to strings.