Merge pull request #3056 from Sunbreak/fabric-1

fix: remove dummy nativeOnly
This commit is contained in:
Olivier Bouillet 2023-07-08 12:51:21 +02:00 committed by GitHub
commit c0517f8db6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,
},
});