fix for RN 0.24+

This commit is contained in:
James Gibbons 2016-04-22 00:01:44 -04:00
parent b17e3add97
commit acadabf179
3 changed files with 16 additions and 7 deletions

View File

@ -1,8 +1,11 @@
'use strict';
import React, {
import {
Component
} from 'react';
import {
AppRegistry,
Component,
StyleSheet,
Text,
TouchableOpacity,

View File

@ -1,9 +1,11 @@
'use strict';
import React, {
Component
} from 'react';
import {
AlertIOS,
AppRegistry,
Component,
StyleSheet,
Text,
TouchableOpacity,

View File

@ -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: {