This repository has been archived by the owner on Mar 30, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 416
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
59 additions
and
24 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,9 @@ | ||
import React from 'react' | ||
import { AppRegistry } from 'react-native' | ||
import { Provider } from 'react-redux' | ||
import AppRootContainer from './src' | ||
import configureStore from './src/store/configureStore' | ||
|
||
const store = configureStore() | ||
import AppRootContainer from './src/AppRootContainer' | ||
|
||
const HackathonStarter = () => ( | ||
<Provider store={store}> | ||
<AppRootContainer /> | ||
</Provider> | ||
<AppRootContainer /> | ||
) | ||
|
||
AppRegistry.registerComponent('HackathonStarter', () => HackathonStarter) |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
/** | ||
* @providesModule HSNavTitleIcon | ||
*/ | ||
|
||
import React from 'react' | ||
import { View, Image, StyleSheet, Dimensions } from 'react-native' | ||
const { width } = Dimensions.get('window') | ||
|
||
let styles = {} | ||
|
||
const NavTitleIcon = () => ( | ||
<View style={styles.iconContainer}> | ||
<Image | ||
source={require('../../images/logo.png')} | ||
style={styles.logo} /> | ||
</View> | ||
) | ||
|
||
styles = StyleSheet.create({ | ||
iconContainer: { | ||
flex: 1, | ||
width: width - 140, | ||
justifyContent: 'center', | ||
alignItems: 'center' | ||
}, | ||
logo: { | ||
width: 136, | ||
height: 28, | ||
resizeMode: 'contain' | ||
} | ||
}) | ||
|
||
export default NavTitleIcon |
This file contains 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
This file contains 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