React-native-linear-gradient: TypeError: In this environment the sources for assign MUST be an object

Created on 27 Jun 2018  路  4Comments  路  Source: react-native-linear-gradient/react-native-linear-gradient

I found this error when i use the library

Im using react react-native-linear-gradient": "^2.4.0
and react native react-native": "0.55.3

Most helpful comment

Same, using Expo App, just installed with yarn and copy paste the first example

All 4 comments

Same here

Same, using Expo App, just installed with yarn and copy paste the first example

@acollazomayer @Cicko @matheushf Anyone have success fixing this? react-native-linear-gradient is completely unusable at the moment.

@garrettboatman I just used the native LinearGradient from Expo API

Was this page helpful?
0 / 5 - 0 ratings