Skip to content

Commit

Permalink
User ViewPropTypes from deprecated-react-native-prop-types
Browse files Browse the repository at this point in the history
It was removed from react-native
  • Loading branch information
mlazari committed Jul 14, 2022
1 parent 0ae9f9b commit 89d3d85
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -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

Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"license": "ISC",
"repository": "cornedor/react-native-video-player",
"peerDependencies": {
"deprecated-react-native-prop-types": "*",
"prop-types": "*",
"react": "*",
"react-native": "*",
Expand Down

0 comments on commit 89d3d85

Please sign in to comment.