1.0.3 • Published 8 years ago
react-popup-picker v1.0.3
react-popup-picker
Picker Component for React.
[
]
Usage
Install:
yarn add react-popup-pickerAnd 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:
valuesdefines the "pickable" values the user can choose fromcolumnsthe "pickable" values are divided into rows and columns based on the limit specified column-sizeonPickedcallback function to handle picked values
Dev
Serves examples.js and bind the Picker component itself for development purpose.
yarn run startLint
Based on eslint and extending the Airbnb-Style Guide.
yarn run lintTest
By using Jest
yarn run testBuild
yarn run build