Skip to main content

Gradient

<Gradient color={Colors.green30} numberOfSteps={4}/>
APIThis is the list of additional props for the component

color
string
​

The color of the gradient. Default is Colors.white

numberOfSteps
number
​

The number of steps

style
ViewStyle
​

Additional style to the component

type
GradientTypes
​

hue | lightness | saturation