Skip to content

Commit

Permalink
Update to use PropTypes from prop-types package
Browse files Browse the repository at this point in the history
  • Loading branch information
xaviervia committed May 11, 2017
1 parent b110d04 commit c812f8e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
"lodash-webpack-plugin": "0.10.0",
"mocha": "3.0.2",
"path": "0.12.7",
"prop-types": "^15.0.0-0",
"react": "15.3.1",
"react-addons-test-utils": "15.3.1",
"react-dom": "15.3.1",
Expand All @@ -71,6 +72,7 @@
"webpack-hot-middleware": "2.12.2"
},
"peerDependencies": {
"prop-types": "^15.0.0-0",
"react": "^0.14.0 || ^15.0.0",
"react-dom": "^0.14.0 || ^15.0.0",
"react-sizeme": "^2.3.2"
Expand Down
3 changes: 2 additions & 1 deletion src/componentQueries.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React, { Component, PropTypes } from 'react';
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import invariant from 'invariant';
import sizeMe from 'react-sizeme';
import mergeWith from './utils/mergeWith';
Expand Down

0 comments on commit c812f8e

Please sign in to comment.