diff --git a/index.js b/index.js index 33617ae..e6ce0e0 100644 --- a/index.js +++ b/index.js @@ -1,6 +1,7 @@ import React, { Component } from 'react'; import PropTypes from 'prop-types'; -import { Image, ImageBackground, Platform, StyleSheet, Text, TextInput, TouchableOpacity, View, ViewPropTypes } from 'react-native'; +import { Image, ImageBackground, Platform, StyleSheet, Text, TextInput, TouchableOpacity, View } from 'react-native'; +import { ViewPropTypes } from 'deprecated-react-native-prop-types'; import Icon from 'react-native-vector-icons/MaterialIcons'; import Video from 'react-native-video'; // eslint-disable-line diff --git a/package.json b/package.json index bc7b44a..fde4c82 100644 --- a/package.json +++ b/package.json @@ -17,6 +17,7 @@ "license": "ISC", "repository": "cornedor/react-native-video-player", "peerDependencies": { + "deprecated-react-native-prop-types": "*", "prop-types": "*", "react": "*", "react-native": "*",