Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

convertStyledProps is not a function #2

Open
crutch12 opened this issue Oct 28, 2022 · 5 comments
Open

convertStyledProps is not a function #2

crutch12 opened this issue Oct 28, 2022 · 5 comments

Comments

@crutch12
Copy link

There is no convertStyledProps function in native-base source code. How should it work? It fails.

@crutch12
Copy link
Author

crutch12 commented Oct 28, 2022

Sorry. Fix:
You have to use at least native-base@3.5.0-rc.7 (I tried 3.5.0-rc.4)

@crutch12
Copy link
Author

crutch12 commented Oct 28, 2022

Now there is another problem - @emotion components fail:

Cannot read properties of null (reading 'type')

Here:

if (attr.type !== "JSXSpreadAttribute" && ["colorScheme", "variant", "size"].includes(attr.name.name)) {

@sregg
Copy link

sregg commented Oct 28, 2022

I'm getting the same Cannot read property 'type' of null error.

@rayan1810
Copy link
Contributor

rayan1810 commented Oct 31, 2022

Hey @sregg @crutch12 thanks for reporting this, I'm looking into it. Will share the updates soon.

@antoinerousseau
Copy link

Related: #3
Fix: #4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants