Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-numeric-input",
"version": "2.0.7",
"version": "2.0.8",
"description": "Number input component that can replace the native number input which is not yet very well supported and where it is, it does not have the same appearance across the browsers. Additionally this component offers more flexible options and can be used for any values (differently formatted representations of the internal numeric value).",
"main": "index.js",
"scripts": {
Expand Down Expand Up @@ -60,6 +60,7 @@
"webpack": "^1.12.2"
},
"peerDependencies": {
"react": ">=0.14.0 || ^15.2.1"
"react": ">=0.14.0 || ^15.2.1",
"prop-types": "^15.5.8"
}
}
3 changes: 2 additions & 1 deletion src/NumericInput.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// @flow
import React, { PropTypes, Component } from "react"
import React, { Component } from "react"
import PropTypes from 'prop-types'

const KEYCODE_UP = 38;
const KEYCODE_DOWN = 40;
Expand Down