Skip to content

Commit 34b61be

Browse files
author
Duc Nguyen
committed
Use seperated prop-types package instead off access PropTypes via the main React package
1 parent d66be53 commit 34b61be

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@
7575
"karma-webpack": "^1.7.0",
7676
"mocha": "^3.1.2",
7777
"phantom": "^2.0.4",
78+
"prop-types": "^15.5.10",
7879
"querystring": "^0.2.0",
7980
"radium": "^0.18.1",
8081
"react": "^15.0.1",

src/Bling.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/* eslint-disable react/sort-comp */
2-
import React, {Component, PropTypes} from "react";
2+
import React, {Component} from "react";
3+
import PropTypes from "prop-types";
34
import ReactDOM from "react-dom";
45
import invariant from "fbjs/lib/invariant";
56
import deepEqual from "deep-equal";

0 commit comments

Comments
 (0)