Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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');


```