Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mateuszitelli/react-points-allocator
A react.js component to allocate points between differents specs.
https://github.com/mateuszitelli/react-points-allocator
Last synced: about 1 month ago
JSON representation
A react.js component to allocate points between differents specs.
- Host: GitHub
- URL: https://github.com/mateuszitelli/react-points-allocator
- Owner: MateusZitelli
- License: mit
- Created: 2014-10-02T21:52:22.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-10-14T21:09:50.000Z (over 10 years ago)
- Last Synced: 2024-12-17T20:49:23.241Z (about 1 month ago)
- Language: JavaScript
- Homepage:
- Size: 293 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
#React PointsAllocator ![travis](https://travis-ci.org/MateusZitelli/react-points-allocator.svg?branch=master)
> Simple React.js component to distribute a limited number of points between options.
##Install
```sh
$ npm install react-points-allocator --save-dev
```##Build
For a production version (minified):
```sh
$ npm run build
```Or for development (unminified and with source-maps):
```sh
$ npm run dev-build
```##Usage
Generate an allocator like this:![React PointsAllocator](http://i.imgur.com/0j93mc1.png)
Using the component with those propos:
```javascript
var PointsAllocator = require('react-points-allocator');
```