Merge pull request #54 from appfolio/fix-deprecation-warnings

Pull in prop-types dependency to avoid deprecation warnings
This commit is contained in:
Ran Greenberg 2017-07-28 21:14:30 +03:00 committed by GitHub
commit 35185a1e81
2 changed files with 4 additions and 2 deletions

View File

@ -16,7 +16,8 @@
},
"scripts": {},
"dependencies": {
"lodash": "^4.14.2"
"lodash": "^4.14.2",
"prop-types": "^15.5.10"
},
"license": "MIT",
"peerDependencies": {

View File

@ -1,4 +1,5 @@
import React, { Component, PropTypes } from 'react';
import PropTypes from 'prop-types';
import React, { Component } from 'react';
import {
StyleSheet,
Text,