Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
class HomeScreen extends React.Component {
static navigationOptions = {
title: 'Home',
headerStyle: {
backgroundColor: '#f32356',
},
headerTintColor: '#000',
headerTitleStyle: {
fontWeight: 'bold',
},
};
}
class DetailsScreen extends React.Component {
static navigationOptions = {
title: 'Details',
headerStyle: {
backgroundColor: '#f4511e',
},
headerTintColor: '#fff',
headerTitleStyle: {
fontWeight: 'bold',
},
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.