diff --git a/package.json b/package.json index 4be8b53..05232a2 100644 --- a/package.json +++ b/package.json @@ -33,6 +33,7 @@ "builder-radium-component-dev": "^2.1.2", "chai": "^3.2.0", "mocha": "^3.1.2", + "prop-types": "^15.5.10", "radium": "^0.18.1", "react": "^15.3.2", "react-addons-test-utils": "^15.3.2", diff --git a/src/components/cell.js b/src/components/cell.js index c60abfb..3e292a6 100644 --- a/src/components/cell.js +++ b/src/components/cell.js @@ -1,5 +1,6 @@ /* eslint-disable new-cap */ -import React, { PropTypes } from "react"; +import React from "react"; +import PropTypes from "prop-types"; import Radium from "radium"; const Cell = (props) => { diff --git a/src/components/grid.js b/src/components/grid.js index 9b81fcc..14c5ac6 100644 --- a/src/components/grid.js +++ b/src/components/grid.js @@ -1,5 +1,6 @@ /* eslint-disable new-cap */ -import React, { PropTypes } from "react"; +import React from "react"; +import PropTypes from "prop-types"; import Radium from "radium"; import resolveCells from "./util/resolve-cells";