1.0.3 • Published 7 years ago

react-popup-picker v1.0.3

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

Build Status

react-popup-picker

Picker Component for React.

[Animation]

Usage

Install:

yarn add react-popup-picker

And add the Popup-Picker in your component:

<PopupPicker values={[1, 2, 3, 4, 5, 6, 7, 8, 9]} columns={3} onPicked={this.handlePicked}>?</PopupPicker>

Props:

  • values defines the "pickable" values the user can choose from
  • columns the "pickable" values are divided into rows and columns based on the limit specified column-size
  • onPicked callback function to handle picked values

Dev

Serves examples.js and bind the Picker component itself for development purpose.

yarn run start

Lint

Based on eslint and extending the Airbnb-Style Guide.

yarn run lint

Test

By using Jest

yarn run test

Build

yarn run build
1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago