diff --git a/AppIntro.js b/AppIntro.js index 52b42d9..4ff052f 100644 --- a/AppIntro.js +++ b/AppIntro.js @@ -1,5 +1,6 @@ import assign from 'assign-deep'; -import React, { Component, PropTypes } from 'react'; +import PropTypes from 'prop-types'; +import React, { Component } from 'react'; import { StatusBar, StyleSheet, diff --git a/package.json b/package.json index ed3fbd5..e1b820b 100644 --- a/package.json +++ b/package.json @@ -28,6 +28,7 @@ "homepage": "https://github.com/fuyaode/react-native-app-intro#readme", "dependencies": { "assign-deep": "^0.4.5", - "react-native-swiper": "git+https://github.com/FuYaoDe/react-native-swiper.git" + "react-native-swiper": "git+https://github.com/FuYaoDe/react-native-swiper.git", + "prop-types": "^15.5.10" } }