Version: 3.2.1

More props

ILinearGradientProps#

NameTypeDescriptionDefault
colorsArray<string>An array of colors that represent stops in the gradient.-
startArray<number>This means that the gradient will start from first value from the left and second value from the top. Array can contain numbers ranging from 0 to 1.
endArray<number>This means that the gradient will end at first value from the left and at second value from the bottom. Array can contain numbers ranging from 0 to 1.
locationArray<number> Each number indicates a color-stop location where each respective color should be located. Array can contain numbers ranging from 0 to 1.