Skip to content
This repository was archived by the owner on Aug 5, 2020. It is now read-only.

Commit 0eb5c7a

Browse files
committed
FIX #19 candidate, react 16 doesn't ship prop-types, included separately now
1 parent a8fbd41 commit 0eb5c7a

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,14 @@
4141
"webpack": "^1.11.0"
4242
},
4343
"peerDependencies": {
44-
"react": "^0.14.3 || ^15.0.0",
45-
"react-dom": "^0.14.3 || ^15.0.0",
44+
"react": "^0.14.3 || ^16.2.0",
45+
"react-dom": "^0.14.3 || ^16.2.0",
4646
"redux-devtools": "^3.0.0"
4747
},
4848
"dependencies": {
4949
"d3-state-visualizer": "^1.3.1",
5050
"deepmerge": "^0.2.10",
51+
"prop-types": "^15.6.0",
5152
"react-pure-render": "^1.0.2",
5253
"redux-devtools-themes": "^1.0.0"
5354
}

src/Chart.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import React, { PropTypes, Component } from 'react';
1+
import React, { Component } from 'react';
2+
import PropTypes from 'prop-types';
23
import { findDOMNode } from 'react-dom';
34
import { tree } from 'd3-state-visualizer';
45

src/ChartMonitor.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import React, { PropTypes, Component } from 'react';
1+
import React, { Component } from 'react';
2+
import PropTypes from 'prop-types';
23
import shouldPureComponentUpdate from 'react-pure-render/function';
34
import * as themes from 'redux-devtools-themes';
45
import { ActionCreators } from 'redux-devtools';

0 commit comments

Comments
 (0)