Replace use of RCTBridge with RCTBubblingEventBlock (#381)

This commit is contained in:
James Hartt
2016-12-13 00:16:11 +00:00
committed by Matt Apperson
parent 0442061028
commit 9bcf70cbb5
4 changed files with 89 additions and 75 deletions

View File

@@ -220,6 +220,16 @@ Video.propTypes = {
src: PropTypes.object,
seek: PropTypes.number,
fullscreen: PropTypes.bool,
onVideoLoadStart: PropTypes.func,
onVideoLoad: PropTypes.func,
onVideoError: PropTypes.func,
onVideoProgress: PropTypes.func,
onVideoSeek: PropTypes.func,
onVideoEnd: PropTypes.func,
onVideoFullscreenPlayerWillPresent: PropTypes.func,
onVideoFullscreenPlayerDidPresent: PropTypes.func,
onVideoFullscreenPlayerWillDismiss: PropTypes.func,
onVideoFullscreenPlayerDidDismiss: PropTypes.func,
/* Wrapper component */
source: PropTypes.oneOfType([