rmc-input-number
v1.0.5
Published
input-number ui component for react(web & react-native)
Downloads
74,968
Readme
rmc-input-number
input number ui component for react (web & react-native)
Screenshots
web:
react-native:
install
Usage
var InputNumber = require('rmc-input-number');
var React = require('react');
var ReactDOM = require('react-dom');
ReactDOM.render(<InputNumber defaultValue={19}/>, container);
Development
npm install
npm run watch-tsc
npm start
Example
http://127.0.0.1:8000/examples/
online example: http://react-component.github.io/m-input-number/examples/
react-native
npm run watch-tsc
npm run rn-init
react-native run-ios
API
props
Test Case
npm test
npm run chrome-test
Coverage
npm run coverage
open coverage/ dir
License
rmc-input-number is released under the MIT license.