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

ERROR: forwardRef render functions accept exactly two parameters: props and ref. Did you forget to use the ref parameter? #466

Closed
2 of 4 tasks
amanape opened this issue May 21, 2023 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@amanape
Copy link

amanape commented May 21, 2023

Description

After installing the Button component following https://ui.gluestack.io/docs/getting-started/install-expo, I get the error above when starting the app and no other information.

CodeSandbox/Snack link

No response

Steps to reproduce

  1. Create app with npx create-expo-app my-app --template expo-template-blank-typescript
  2. Follow instructions in Getting Started
  3. Run npm start
  4. See error

gluestack-ui Version

latest

Platform

  • Android
  • Expo
  • iOS
  • Next

Other Platform

No response

Additional Information

No response

@amanape amanape added the bug Something isn't working label May 21, 2023
@AshwiniKumar007
Copy link
Collaborator

Hey @amanape ,
Thanks for reporting. We will look into this.

@saaymeen
Copy link

Also happens using bare react-native@0.71.8

@makkarMeenu
Copy link
Collaborator

Hey @amanape @saaymeen , can you please check if this is fixed?

@amanape
Copy link
Author

amanape commented Jun 8, 2023

Hi @makkarMeenu, the issue has been resolved after updating to the latest version. Thanks!

@amanape amanape closed this as completed Jun 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants