Simple example with an input type number

             <ReactAmountField onChange={(event) => {this.setState({ val: event.target.value })}} value={this.state.val} >
              <input type='number' />
             </ReactAmountField>
          

To install React, follow the instructions on GitHub.

If you can see this, React is not working right. If you checked out the source from GitHub make sure to run npm install.

It also works with material-ui

             <ReactAmountField onChange={(event) => {this.setState({ val: event.target.value })}} value={this.state.val} >
              <TextField hintText="I will be turned to an amount" />
             </ReactAmountField>
          

To install React, follow the instructions on GitHub.

If you can see this, React is not working right. If you checked out the source from GitHub make sure to run npm install.

It works also with redux-form

To install React, follow the instructions on GitHub.

If you can see this, React is not working right. If you checked out the source from GitHub make sure to run npm install.