1.0.7 • Published 3 years ago

color-picker-react-native v1.0.7

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

npm

Circular color picker

Simple color picker for react native

Prerequisites

Your project has to have react-native-svg installed

npm i color-picker-react-native
cd ios
pod install

or

expo install react-native-svg

Reference

Installation

npm i color-picker-react-native

Usage

import { ColorPicker } from 'color-picker-react-native';

render() {
    return (
        <ColorPicker
          getColor={(color) => console.log({COLOR: color})}
          colorArray={['#F6AE2D', '#8367C7', '#E84855', '#C2F8CB', '#51D6FF']}
        />
    );
}

color-picker-example

Available props

nametyperequireddescription
getColorfunctionyes
colorArraystring[]noshould be at least 2 colors
sizenumberno
1.0.7

3 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago