Gradient
Gradient Component
(code example)
Usageβ
Live Editor
<Gradient color={Colors.green30} numberOfSteps={4}/>
Result
Loading...
APIβ
colorβ
The color of the gradient
string
numberOfStepsβ
The number of steps
number
styleβ
Additional style to the component
ViewStyle
typeβ
hue | lightness | saturation
GradientTypes