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
I have been unable to use prop with optional keys. I tend to use prop a lot with something like styled-components which gives me a nice shorthand for accessing the interpolated values. Here is an example of a pattern I use quite a bit.
Hey there 👋
I have been unable to use
prop
with optional keys. I tend to useprop
a lot with something likestyled-components
which gives me a nice shorthand for accessing the interpolated values. Here is an example of a pattern I use quite a bit.I however get an error similar to the following:
Is this something that is possible? I really like the
prop
shorthand and tend to use it all over the place. Any help would be appreciated. Thank you!The text was updated successfully, but these errors were encountered: