Skip to main content

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