diff --git a/Examples/VideoPlayer/index.android.js b/Examples/VideoPlayer/index.android.js index 21ee336a..c5a000a5 100644 --- a/Examples/VideoPlayer/index.android.js +++ b/Examples/VideoPlayer/index.android.js @@ -1,8 +1,11 @@ 'use strict'; -import React, { +import { + Component +} from 'react'; + +import { AppRegistry, - Component, StyleSheet, Text, TouchableOpacity, diff --git a/Examples/VideoPlayer/index.ios.js b/Examples/VideoPlayer/index.ios.js index e6e5f838..6fed5dd7 100644 --- a/Examples/VideoPlayer/index.ios.js +++ b/Examples/VideoPlayer/index.ios.js @@ -1,9 +1,11 @@ 'use strict'; - import React, { + Component +} from 'react'; + +import { AlertIOS, AppRegistry, - Component, StyleSheet, Text, TouchableOpacity, diff --git a/Video.js b/Video.js index 60859b17..38d7b23e 100644 --- a/Video.js +++ b/Video.js @@ -1,14 +1,18 @@ -import React from 'react-native'; +import React from 'react'; +import ReactNative from 'react-native'; import VideoResizeMode from './VideoResizeMode.js'; const { Component, + PropTypes, +} = React; + +const { StyleSheet, requireNativeComponent, - PropTypes, NativeModules, View, -} = React; +} = ReactNative; const styles = StyleSheet.create({ base: {