Skip to content

Commit

Permalink
Merge pull request #3056 from Sunbreak/fabric-1
Browse files Browse the repository at this point in the history
fix: remove dummy nativeOnly
  • Loading branch information
freeboub authored Jul 8, 2023
2 parents ca50dbd + aaa9612 commit c0517f8
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions Video.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -566,10 +559,4 @@ Video.propTypes = {
...ViewPropTypes,
};

const RCTVideo = requireNativeComponent('RCTVideo', Video, {
nativeOnly: {
src: true,
seek: true,
fullscreen: true,
},
});
const RCTVideo = requireNativeComponent('RCTVideo');

0 comments on commit c0517f8

Please sign in to comment.