Fix for issue #4605 on react-native
This commit is contained in:
parent
5f6f1c3b01
commit
10f7690f4d
3
Video.js
3
Video.js
@ -120,8 +120,6 @@ Video.propTypes = {
|
|||||||
seek: PropTypes.number,
|
seek: PropTypes.number,
|
||||||
|
|
||||||
/* Wrapper component */
|
/* Wrapper component */
|
||||||
style: View.propTypes.style,
|
|
||||||
ref: PropTypes.string,
|
|
||||||
source: PropTypes.object,
|
source: PropTypes.object,
|
||||||
resizeMode: PropTypes.string,
|
resizeMode: PropTypes.string,
|
||||||
repeat: PropTypes.bool,
|
repeat: PropTypes.bool,
|
||||||
@ -142,6 +140,7 @@ Video.propTypes = {
|
|||||||
translateX: React.PropTypes.number,
|
translateX: React.PropTypes.number,
|
||||||
translateY: React.PropTypes.number,
|
translateY: React.PropTypes.number,
|
||||||
rotation: React.PropTypes.number,
|
rotation: React.PropTypes.number,
|
||||||
|
...View.propTypes,
|
||||||
};
|
};
|
||||||
|
|
||||||
const RCTVideo = requireNativeComponent('RCTVideo', Video, {
|
const RCTVideo = requireNativeComponent('RCTVideo', Video, {
|
||||||
|
Loading…
Reference in New Issue
Block a user