diff --git a/Example/cell.js b/Example/cell.js index 83af9e9..c5b20a6 100644 --- a/Example/cell.js +++ b/Example/cell.js @@ -1,4 +1,5 @@ -import React, { Component, PropTypes } from 'react'; +import React, { Component } from 'react'; +import PropTypes from 'prop-types'; import { StyleSheet, Text, diff --git a/createAnimatableComponent.js b/createAnimatableComponent.js index 0a5ef43..c3b98fe 100644 --- a/createAnimatableComponent.js +++ b/createAnimatableComponent.js @@ -1,4 +1,5 @@ -import React, { Component, PropTypes } from 'react'; +import React, { Component } from 'react'; +import PropTypes from 'prop-types'; import { Animated, Easing } from 'react-native'; import wrapStyleTransforms from './wrapStyleTransforms'; import getStyleValues from './getStyleValues'; diff --git a/package.json b/package.json index 0f114dd..31f8ea7 100644 --- a/package.json +++ b/package.json @@ -62,5 +62,8 @@ "react": "*", "react-native": "*", "react-test-renderer": "15.5.4" + }, + "dependencies": { + "prop-types": "^15.5.10" } }