Skip to content

Commit 80a49aa

Browse files
authored
Merge pull request #173 from maluramichael/master
Change event emitter path because the it has changed since 0.48.x
2 parents 2f06ca9 + d71abcd commit 80a49aa

File tree

6 files changed

+1452
-7
lines changed

6 files changed

+1452
-7
lines changed

components/NavBarContainer.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import React, { PropTypes } from 'react';
1+
import React from 'react';
2+
import PropTypes from 'prop-types';
23
import {
34
BackAndroid,
45
Platform,

components/NavBarContent.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import React, { PropTypes } from 'react';
1+
import React from 'react';
2+
import PropTypes from 'prop-types';
23
import {
34
Animated,
45
Easing,

components/NavButton.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import React, { PropTypes } from 'react';
1+
import React from 'react';
2+
import PropTypes from 'prop-types';
23
import {
34
StyleSheet,
45
Text,

index.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
1-
import React, { PropTypes } from 'react';
1+
import React from 'react';
2+
import PropTypes from 'prop-types';
23
import {
34
StyleSheet,
4-
Navigator,
55
View,
66
Platform,
77
Text,
88
StatusBar,
99
} from 'react-native';
10+
import {Navigator} from 'react-native-deprecated-custom-components';
1011

11-
import EventEmitter from 'react-native/Libraries/EventEmitter/EventEmitter';
12+
import EventEmitter from 'react-native/Libraries/vendor/emitter/EventEmitter';
1213

1314
import NavBarContainer from './components/NavBarContainer';
1415
import * as Styles from './styles';

0 commit comments

Comments
 (0)