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,
|
||||
]),
|
||||
filterEnabled: PropTypes.bool,
|
||||
/* Native only */
|
||||
src: PropTypes.object,
|
||||
seek: PropTypes.oneOfType([
|
||||
PropTypes.number,
|
||||
PropTypes.object,
|
||||
]),
|
||||
fullscreen: PropTypes.bool,
|
||||
onVideoLoadStart: PropTypes.func,
|
||||
onVideoLoad: PropTypes.func,
|
||||
onVideoBuffer: PropTypes.func,
|
||||
@ -566,10 +559,4 @@ Video.propTypes = {
|
||||
...ViewPropTypes,
|
||||
};
|
||||
|
||||
const RCTVideo = requireNativeComponent('RCTVideo', Video, {
|
||||
nativeOnly: {
|
||||
src: true,
|
||||
seek: true,
|
||||
fullscreen: true,
|
||||
},
|
||||
});
|
||||
const RCTVideo = requireNativeComponent('RCTVideo');
|
||||
|
Loading…
Reference in New Issue
Block a user