Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

react-gradient-picker

bykovdenis33MITdeprecated0.1.10

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

react gradient picker

react, leaflet, webpack, babel

readme

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