Skip to content

Commit 3b01ff8

Browse files
author
olivier bouillet
committed
Replace Image.propTypes with ImagePropTypes.
# Conflicts: # Video.js
1 parent ab8c71f commit 3b01ff8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Video.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React, { Component } from 'react';
22
import PropTypes from 'prop-types';
33
import { StyleSheet, requireNativeComponent, NativeModules, View, Image, Platform, findNodeHandle } from 'react-native';
4-
import { ViewPropTypes } from 'deprecated-react-native-prop-types';
4+
import { ViewPropTypes, ImagePropTypes } from 'deprecated-react-native-prop-types';
55
import resolveAssetSource from 'react-native/Libraries/Image/resolveAssetSource';
66
import TextTrackType from './TextTrackType';
77
import FilterType from './FilterType';
@@ -416,7 +416,7 @@ Video.propTypes = {
416416
maxBitRate: PropTypes.number,
417417
resizeMode: PropTypes.string,
418418
poster: PropTypes.string,
419-
posterResizeMode: Image.propTypes.resizeMode,
419+
posterResizeMode: ImagePropTypes.resizeMode,
420420
repeat: PropTypes.bool,
421421
automaticallyWaitsToMinimizeStalling: PropTypes.bool,
422422
allowsExternalPlayback: PropTypes.bool,

0 commit comments

Comments
 (0)