From 10f7690f4d84069ea4b5e8b9cc6fe396a9e70c21 Mon Sep 17 00:00:00 2001 From: Brent Vatne Date: Mon, 7 Dec 2015 01:03:21 -0800 Subject: [PATCH] Fix for issue #4605 on react-native --- Video.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Video.js b/Video.js index acba4dfc..77323549 100644 --- a/Video.js +++ b/Video.js @@ -120,8 +120,6 @@ Video.propTypes = { seek: PropTypes.number, /* Wrapper component */ - style: View.propTypes.style, - ref: PropTypes.string, source: PropTypes.object, resizeMode: PropTypes.string, repeat: PropTypes.bool, @@ -142,6 +140,7 @@ Video.propTypes = { translateX: React.PropTypes.number, translateY: React.PropTypes.number, rotation: React.PropTypes.number, + ...View.propTypes, }; const RCTVideo = requireNativeComponent('RCTVideo', Video, {