From 1ba6b062e4ac7a415e4d3602f15965f7bf93c779 Mon Sep 17 00:00:00 2001 From: thomasobrien99 Date: Fri, 3 Nov 2017 11:38:37 -0700 Subject: [PATCH] View.propTypes -> ViewPropTypes (#824) --- Video.js | 4 ++-- ViewPropTypes | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 ViewPropTypes diff --git a/Video.js b/Video.js index b90c030e..feb79861 100644 --- a/Video.js +++ b/Video.js @@ -1,6 +1,6 @@ import React, {Component} from 'react'; import PropTypes from 'prop-types'; -import {StyleSheet, requireNativeComponent, NativeModules, View, Image} from 'react-native'; +import {StyleSheet, requireNativeComponent, NativeModules, View, ViewPropTypes, Image} from 'react-native'; import resolveAssetSource from 'react-native/Libraries/Image/resolveAssetSource'; import VideoResizeMode from './VideoResizeMode.js'; @@ -308,7 +308,7 @@ Video.propTypes = { translateX: PropTypes.number, translateY: PropTypes.number, rotation: PropTypes.number, - ...View.propTypes, + ...ViewPropTypes, }; const RCTVideo = requireNativeComponent('RCTVideo', Video, { diff --git a/ViewPropTypes b/ViewPropTypes new file mode 100644 index 00000000..0641bc0d --- /dev/null +++ b/ViewPropTypes @@ -0,0 +1 @@ +M Video.js