Created
April 6, 2017 11:41
-
-
Save ronal2do/224a5e8e925590c1d3f38d32edb9bc02 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from 'react'; | |
import { | |
StyleSheet, | |
Text, | |
View, | |
Image, | |
} from 'react-native'; | |
import { Root } from './router'; | |
class AppRoot extends Component { | |
render(){ | |
if ( this.props.auth ) return <Root /> | |
return( | |
<RootLogin /> | |
) | |
} | |
} | |
} | |
export default () => <AppRoot />; |
Author
ronal2do
commented
Apr 6, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment