gluestack / gluestack-ui-themed-native-base

MIT License
5 stars 0 forks source link

[@gluestack-ui/themed-native-base] When use Select.Item component, an error appears #42

Open DanTol-cloud opened 3 weeks ago

DanTol-cloud commented 3 weeks ago

Description

Warning: React.createElement: 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 ForwardRef.

CodeSandbox/Snack link

https://github.com/DanTol-cloud/gluestack-ui-select

Steps to reproduce

  1. run npm run start
  2. Click on Select component
  3. See error

gluestack-ui Version

0.1.108

Platform

Other Platform

No response

Additional Information

Found several solutions, but they did not help solve the problem: First decision to remove mixed exports(named and default) -> do not solved an error Second decision to use forwardRef with component Select.Item -> do not solved an error

Decided to make a test app, link is higher, and saw that error appears either.

Hope you will help me with this error.

DanTol-cloud commented 2 weeks ago

@Viraj-10 So is there any solution for this issue?