Merge pull request #54 from appfolio/fix-deprecation-warnings
Pull in prop-types dependency to avoid deprecation warnings
This commit is contained in:
commit
35185a1e81
|
@ -16,7 +16,8 @@
|
|||
},
|
||||
"scripts": {},
|
||||
"dependencies": {
|
||||
"lodash": "^4.14.2"
|
||||
"lodash": "^4.14.2",
|
||||
"prop-types": "^15.5.10"
|
||||
},
|
||||
"license": "MIT",
|
||||
"peerDependencies": {
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
import React, { Component, PropTypes } from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import React, { Component } from 'react';
|
||||
import {
|
||||
StyleSheet,
|
||||
Text,
|
||||
|
|
Loading…
Reference in New Issue