Open zh925 opened 9 months ago
I have the same problem on iOS
~Same thing, an example from the documentation: https://wix.github.io/react-native-ui-lib/docs/getting-started/usage does not work. For View
, Text
and TextField
it does, but fails on Button
.~
upd.
To me it helped to make sure that react-native-reanimated
is installed following this guide: https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/getting-started/
Specifically, run npx expo start -c
afterwards
Running into the same issue
I had the same problem,It's not just Button, there are other components that have this problem as well
I updated the libraries recommended by Expo, and it worked.
"dependencies": { "expo": "~50.0.6", "expo-status-bar": "~1.11.1", "react": "18.2.0", "react-native": "0.73.4", "react-native-calendars": "^1.1303.0", "react-native-gesture-handler": "~2.14.0", "react-native-reanimated": "~3.6.2", "react-native-ui-lib": "^7.16.0" }, "devDependencies": { "@babel/core": "^7.20.0" },
same issue here
I updated the libraries recommended by Expo, and it worked.
"dependencies": { "expo": "~50.0.6", "expo-status-bar": "~1.11.1", "react": "18.2.0", "react-native": "0.73.4", "react-native-calendars": "^1.1303.0", "react-native-gesture-handler": "~2.14.0", "react-native-reanimated": "~3.6.2", "react-native-ui-lib": "^7.16.0" }, "devDependencies": { "@babel/core": "^7.20.0" },
Updated libraries...Working!!
did anyone came up with any solutions? dealing with the same issue when trying to use <TextField>
Description
I import Button and render it, has an Error.
Then I console.log(Button), it was an undefined in my logs.
Related to
Steps to reproduce
Expected behavior
render the button
Actual behavior
throw an error
More Info
Code snippet
Screenshots/Video
Environment
it was same on react-native-ui-lib@7.12.1
Affected platforms