You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After searching I couldn't find if this was already suggested and discounted, but at the moment when we can specify component props with a simple array of strings or complex object hash.
I think I might be useful if we could mix the two:
I often find I have props in an array of strings, and at a later stage need to add a prop which has validation. Meaning I have to concert the array of strings to a hash.
The text was updated successfully, but these errors were encountered:
A bit late but was this ever sorted? I just noticed I am having the same issues as mentioned. Mixing prop types as shown in the tests is throwing an error.
Thanks
After searching I couldn't find if this was already suggested and discounted, but at the moment when we can specify component props with a simple array of strings or complex object hash.
I think I might be useful if we could mix the two:
I often find I have props in an array of strings, and at a later stage need to add a prop which has validation. Meaning I have to concert the array of strings to a hash.
The text was updated successfully, but these errors were encountered: