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.
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.
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
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.