More props | NativeBase | Universal Components for React and React Native

Search
K
Hire us
Data Display
Typography
Disclosure
Media and Icons
Others
Please opt in to our enterprise plan (coming soon) for priority support with NativeBase. If you are starting a new project, we recommend using gluestack-ui. For your existing projects, you can utilize @gluestack-ui/themed-native-base (beta).
More props
ILinearGradientProps
Name
Type
Description
Default
colors
Array<string>
An array of colors that represent stops in the gradient.
-
start
Array<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.
end
Array<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.
location
Array<number>
Each number indicates a color-stop location where each respective color should be located. Array can contain numbers ranging from 0 to 1.
Nativebase logo
MadeWithNativeBase