0.0.4 • Published 8 years ago

numeric-field v0.0.4

Weekly downloads
1
License
MIT
Repository
-
Last release
8 years ago

numeric-field

React component that represents a numeric input field. This takes as input ONLY digits, so no whitespace characters, commas, points, etc... This component is to be used only when digits are expected with ReactJS using JSX syntax.

Installation

npm install numeric-field --save

Usage

var NumericField = require('numeric-field');

functionToSetNumericValue: function(value) {
    console.log("This is what I want to do with the value " + value);
}

render : function () {

    return (
        <div>
            <NumericField name="My Field" setValue={this.functionToSetNumericValue} />
        </div>
    )

}
0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago