linear gradient inline style react code example
Example 1: linear gradient css react js
background-image: linear-gradient(to right, red , yellow);
Example 2: linear gradient react js
<LinearGradient
colors={['#4c669f', '#3b5998', '#192f6a']}
style={styles.linearGradient}>
<Text style={styles.buttonText}>
Simple Linear Gradient Backgrount
</Text>
</LinearGradient>