1<LinearGradient
2 colors={['#4c669f', '#3b5998', '#192f6a']}
3 style={styles.linearGradient}>
4 <Text style={styles.buttonText}>
5 Simple Linear Gradient Backgrount
6 </Text>
7</LinearGradient>
1You may refer to this link:
2https://github.com/react-native-linear-gradient/react-native-linear-gradient