This package has been deprecated
Author message:
Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
react-gradient-picker
0.1.10 • Public • Published React gradient picker component
Describe API
Input Properties
Parameter
|
Type
|
Description
|
gradient
|
Array
|
Array of objects
-
step: string
-
color: string
-
alpha: number
|
visibleGradientCSS
|
Boolean
|
The condition to visible text css property background-image
|
heightGradientPanel
|
Number
|
Height of gradient panel
|
widthPoint
|
Number
|
width of points
|
heightPoint
|
Number
|
Height of points
|
Methods
Parameter
|
Type
|
Return
|
Description
|
changePaletteParam
|
Function
|
Array of objects
-
key: number
-
step: string
-
color: string
-
alpha: string
-
active: boolean (sign to active point)
|
Apply the change palette params
|
Package Sidebar
Install
npm i react-gradient-picker
Weekly Downloads