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
{{ message }}
This repository has been archived by the owner on Dec 11, 2023. It is now read-only.
I took a break from trying to migrate from NativeBase and coming back some things are working better and I'm also seeing some new errors. One of which are some type errors while trying to extend the types of a styled component...
This method of getting the type of PressableStyled and then extending it was working before but on the latest "@gluestack-style/react": "0.2.51" I get a bunch of...
Property x of type x is not assignable to 'string & {}' index type 'string & {}'.
...with x being all kinds of things (see screenshot here)
Hey @reggieofarrell, Can you try with the latest version? Also, plugin API is changed in v1. We have deprecated the createStyled function and now you can directly pass plugins in config as plugin array. You can check out here
I took a break from trying to migrate from NativeBase and coming back some things are working better and I'm also seeing some new errors. One of which are some type errors while trying to extend the types of a styled component...
This method of getting the type of
PressableStyled
and then extending it was working before but on the latest"@gluestack-style/react": "0.2.51"
I get a bunch of...Property x of type x is not assignable to 'string & {}' index type 'string & {}'.
...with
x
being all kinds of things (see screenshot here)Any insight on what is going on here?
Some other notes...
'@/utils/styled'
animation-plugin is on 0.1.7 because the latest was causing this issue for us as well today
GluestackUIProvider
at the root of the app...The text was updated successfully, but these errors were encountered: