Skip to content

Commit 97736ed

Browse files
authored
Merge pull request #83 from xaviervia/master
Update to latest react-sizeme
2 parents 72f81b0 + c812f8e commit 97736ed

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959
"lodash-webpack-plugin": "0.10.0",
6060
"mocha": "3.0.2",
6161
"path": "0.12.7",
62+
"prop-types": "^15.0.0-0",
6263
"react": "15.3.1",
6364
"react-addons-test-utils": "15.3.1",
6465
"react-dom": "15.3.1",
@@ -71,9 +72,10 @@
7172
"webpack-hot-middleware": "2.12.2"
7273
},
7374
"peerDependencies": {
75+
"prop-types": "^15.0.0-0",
7476
"react": "^0.14.0 || ^15.0.0",
7577
"react-dom": "^0.14.0 || ^15.0.0",
76-
"react-sizeme": "^2.0.0"
78+
"react-sizeme": "^2.3.2"
7779
},
7880
"config": {
7981
"commitizen": {

src/componentQueries.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import React, { Component, PropTypes } from 'react';
1+
import React, { Component } from 'react';
2+
import PropTypes from 'prop-types';
23
import invariant from 'invariant';
34
import sizeMe from 'react-sizeme';
45
import mergeWith from './utils/mergeWith';

0 commit comments

Comments
 (0)