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
The error I get is Type 'CreateStyled' is not generic..
Expected behavior:
CreateStyled supports a prop for the shape of the Theme I've built and I get correct auto completion for theme properties such as colors in my Emotion Components.
Environment information:
react version: react@16.9.0
emotion version: @emotion/core@11.0.0-next.10 @emotion/native@11.0.0-next.12 etc.
The text was updated successfully, but these errors were encountered:
I'm using
@emotion/native@next
and want to get a typed theme prop applied across allstyled.<ReactNativeComponent>
emotion components.Currently I'm trying the example as laid out in the docs for React rather than React Native.
Unfortunately the CreateStyled interface is not Templated so I cannot pass my theme type in the same way on Native as with vanilla React.
The error I get is
Type 'CreateStyled' is not generic.
.Expected behavior:
CreateStyled supports a prop for the shape of the Theme I've built and I get correct auto completion for theme properties such as colors in my Emotion Components.
Environment information:
react
version: react@16.9.0emotion
version: @emotion/core@11.0.0-next.10 @emotion/native@11.0.0-next.12 etc.The text was updated successfully, but these errors were encountered: