Skip to content

Commit

Permalink
Added prop-type library for react 16
Browse files Browse the repository at this point in the history
  • Loading branch information
rmdort committed Apr 12, 2017
1 parent f09270e commit 7039ef6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
],
"dependencies": {
"hyphenate-style-name": "^1.0.0",
"matchmedia": "^0.1.2"
"matchmedia": "^0.1.2",
"prop-types": "^15.5.7"
},
"peerDependencies": {
"react": "*"
Expand Down
2 changes: 1 addition & 1 deletion src/mediaQuery.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { PropTypes } from 'react'
import PropTypes from 'prop-types'

const stringOrNumber = PropTypes.oneOfType([
PropTypes.string,
Expand Down

0 comments on commit 7039ef6

Please sign in to comment.