JSPM

  • Created
  • Published
  • Downloads 409
  • Score
    100M100P100Q66355F
  • License MIT

Color picker for React Native

Package Exports

  • native-color-picker

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (native-color-picker) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

native-color-picker

NPM version NPM downloads

How to Install

First, install the library in your project by npm:

$ npm install native-color-picker

Or Yarn:

$ yarn add native-color-picker

Getting Started

• Connect libary with project using ES6 import:

import NativeColorPicker from 'native-color-picker';

Options

Name Type Default Description Available options
colors string[] [] Colors to display in a color picker e.g.: ['#f96204', '#43d8c9']
selectedColor string Marked item Color from the list colors
onSelect function item => item Select color item e.g.: elem => { /* code */ }
applyGradient boolean false Enable or disable gradient layer over the color item true - enable, false - disable
columns number 5 Number of columns in color list (only vertical) Number of columns
itemSize number 50 Size (width & height) of list item Size of list item
marker string border Type of marker for selected item border, checkmark, fade, none

License

This project is licensed under the MIT License © 2019-present Jakub Biesiada