How to create a gradient text in react-native
问题 I want to create text with linear gradient color in react-native, but cannot find a suitable way or package to do this. I tried to use this package : https://github.com/iyegoroff/react-native-text-gradient. But, while trying to run an example with expo, it is giving me the following error : TypeError: Cannot read property 'x' of undefined This error is located at: in RNLinearTextGradient (at App.js:26) in RCTView (at View.js:60) in View (at App.js:17) in App (at registerRootComponent.js:35)