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

[ BUG ] Error during rendering Select component. #147

Closed
przemekscibiorek opened this issue May 15, 2024 · 3 comments
Closed

[ BUG ] Error during rendering Select component. #147

przemekscibiorek opened this issue May 15, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@przemekscibiorek
Copy link

Describe the bug
After installing select component and adding example code from docs I receive error

Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports

Check the render method of `TriggerNativeSelect`.

Expected behavior
App should render without errors

Platform (please complete the following information):

  • Type: Simulator,
  • OS: iOS 15

Additional context
Add any other context about the problem here.

@przemekscibiorek przemekscibiorek added the bug Something isn't working label May 15, 2024
@cedricchavaudra
Copy link

Good morning,

I encountered exactly the same problem when trying to test the Select component.

@cedricchavaudra
Copy link

Same problem also with the "Accordion" component, I don't know if it's related

@mrzachnugent
Copy link
Owner

Hey @cedricchavaudra @przemekscibiorek,

This is an issue related to the Icon that your component is using. The icon is not exported from your icons file so it causes this error.

It is something that will be solved by the CLI in the future. For now, you can follow these steps to fix this issue: #142 (comment)

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

3 participants