Several improvements to StackNavigation Header (#3568)

* Refactor to remove unused variables, styles, and outer Animated view

* Style cleanup

* Proof of concept blur background

* Clean it up and add flow interface

* Update snapshots
This commit is contained in:
Brent Vatne
2018-02-21 18:29:43 -08:00
committed by GitHub
parent 371a714b57
commit 065fdf61d8
9 changed files with 473 additions and 297 deletions

View File

@@ -178,20 +178,18 @@ MyProfileScreen.navigationOptions = props => {
};
};
const SimpleStack = StackNavigator(
{
Home: {
screen: MyHomeScreen,
},
Profile: {
path: 'people/:name',
screen: MyProfileScreen,
},
Photos: {
path: 'photos/:name',
screen: MyPhotosScreen,
},
}
);
const SimpleStack = StackNavigator({
Home: {
screen: MyHomeScreen,
},
Profile: {
path: 'people/:name',
screen: MyProfileScreen,
},
Photos: {
path: 'photos/:name',
screen: MyPhotosScreen,
},
});
export default SimpleStack;