Skip to content

Instantly share code, notes, and snippets.

@callmephilip
Created June 8, 2016 16:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save callmephilip/8794ed4dbd36cfbae71f6a98b9ab5e0e to your computer and use it in GitHub Desktop.
Save callmephilip/8794ed4dbd36cfbae71f6a98b9ab5e0e to your computer and use it in GitHub Desktop.
import { View, Platform } from 'react-native';
import React, { Component } from 'react';
import styles from './styles';
import MainNavigation from '../MainNavigation';
import AddTodoItem from '../AddTodoItem';
class App extends Component {
render() {
return (
<View style={ styles.container }>
{ Platform.OS === 'ios' ? <AddTodoItem /> : null }
<MainNavigation />
</View>
);
}
}
export default App;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment