Use prop types from deprecated-react-native-prop-types
Starting with React Native 0.68, using Prop Types from `react-native` emits a warning.
This commit is contained in:
3
Video.js
3
Video.js
@@ -1,6 +1,7 @@
|
||||
import React, { Component } from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import { StyleSheet, requireNativeComponent, NativeModules, View, ViewPropTypes, Image, Platform, findNodeHandle } from 'react-native';
|
||||
import { StyleSheet, requireNativeComponent, NativeModules, View, Image, Platform, findNodeHandle } from 'react-native';
|
||||
import { ViewPropTypes } from "deprecated-react-native-prop-types";
|
||||
import resolveAssetSource from 'react-native/Libraries/Image/resolveAssetSource';
|
||||
import TextTrackType from './TextTrackType';
|
||||
import FilterType from './FilterType';
|
||||
|
Reference in New Issue
Block a user