fix: remove dummy nativeOnly
This commit is contained in:
parent
e08ef2d5ab
commit
aaa961296b
15
Video.js
15
Video.js
@ -416,13 +416,6 @@ Video.propTypes = {
|
|||||||
FilterType.SEPIA,
|
FilterType.SEPIA,
|
||||||
]),
|
]),
|
||||||
filterEnabled: PropTypes.bool,
|
filterEnabled: PropTypes.bool,
|
||||||
/* Native only */
|
|
||||||
src: PropTypes.object,
|
|
||||||
seek: PropTypes.oneOfType([
|
|
||||||
PropTypes.number,
|
|
||||||
PropTypes.object,
|
|
||||||
]),
|
|
||||||
fullscreen: PropTypes.bool,
|
|
||||||
onVideoLoadStart: PropTypes.func,
|
onVideoLoadStart: PropTypes.func,
|
||||||
onVideoLoad: PropTypes.func,
|
onVideoLoad: PropTypes.func,
|
||||||
onVideoBuffer: PropTypes.func,
|
onVideoBuffer: PropTypes.func,
|
||||||
@ -566,10 +559,4 @@ Video.propTypes = {
|
|||||||
...ViewPropTypes,
|
...ViewPropTypes,
|
||||||
};
|
};
|
||||||
|
|
||||||
const RCTVideo = requireNativeComponent('RCTVideo', Video, {
|
const RCTVideo = requireNativeComponent('RCTVideo');
|
||||||
nativeOnly: {
|
|
||||||
src: true,
|
|
||||||
seek: true,
|
|
||||||
fullscreen: true,
|
|
||||||
},
|
|
||||||
});
|
|
||||||
|
Loading…
Reference in New Issue
Block a user