Merge pull request #192 from jgibbons/master

fix for RN 0.24+
This commit is contained in:
Stanisław Chmiela 2016-05-09 16:12:11 +02:00
commit 3ebda0234d
3 changed files with 16 additions and 7 deletions

View File

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

View File

@ -1,9 +1,11 @@
'use strict'; 'use strict';
import React, { import React, {
Component
} from 'react';
import {
AlertIOS, AlertIOS,
AppRegistry, AppRegistry,
Component,
StyleSheet, StyleSheet,
Text, Text,
TouchableOpacity, 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'; import VideoResizeMode from './VideoResizeMode.js';
const { const {
Component, Component,
PropTypes,
} = React;
const {
StyleSheet, StyleSheet,
requireNativeComponent, requireNativeComponent,
PropTypes,
NativeModules, NativeModules,
View, View,
} = React; } = ReactNative;
const styles = StyleSheet.create({ const styles = StyleSheet.create({
base: { base: {