fix for RN 0.24+
This commit is contained in:
parent
b17e3add97
commit
acadabf179
@ -1,8 +1,11 @@
|
|||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
import React, {
|
import {
|
||||||
|
Component
|
||||||
|
} from 'react';
|
||||||
|
|
||||||
|
import {
|
||||||
AppRegistry,
|
AppRegistry,
|
||||||
Component,
|
|
||||||
StyleSheet,
|
StyleSheet,
|
||||||
Text,
|
Text,
|
||||||
TouchableOpacity,
|
TouchableOpacity,
|
||||||
|
@ -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,
|
||||||
|
10
Video.js
10
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';
|
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: {
|
||||||
|
Loading…
Reference in New Issue
Block a user