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
/* *********************************************************** | |
* A short word on how to use this automagically generated file. | |
* We're often asked in the ignite gitter channel how to connect | |
* to a to a third party api, so we thought we'd demonstrate - but | |
* you should know you can use sagas for other flow control too. | |
* | |
* Other points: | |
* - You'll need to add this saga to sagas/index.js | |
* - This template uses the api declared in sagas/index.js, so | |
* you'll need to define a constant in that file. |
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
class HomeScreen extends React.Component { | |
static navigationOptions = { | |
title: 'Home', | |
headerStyle: { | |
backgroundColor: '#f32356', | |
}, | |
headerTintColor: '#000', | |
headerTitleStyle: { | |
fontWeight: 'bold', | |
}, |
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
class HomeScreen extends React.Component { | |
static navigationOptions = { | |
title: 'Home', | |
}; | |
} | |
class DetailsScreen extends React.Component { | |
static navigationOptions = { | |
title: 'Details', | |
}; | |
} |