Reworked headerBackImage navigation prop and rendering (#3680)

* Added possibility to provide custom header back button's image, introduced API changes: removed old prop "headerBackImage", added new prop "backImage".

* Code style fixes.

* Renamed showcase file to for more clarity; updated the prop's name as well.

* Removed listeners code from showcase screens.
This commit is contained in:
spaceye
2018-03-13 23:15:11 +03:00
committed by Brent Vatne
parent c2e197f8d3
commit d017ed01b3
7 changed files with 218 additions and 29 deletions

View File

@@ -343,7 +343,7 @@ declare module 'react-navigation' {
headerTintColor?: string,
headerLeft?: React$Node | React$ElementType,
headerBackTitle?: string,
headerBackImage?: ImageSource,
headerBackImage?: React$Node | React$ElementType,
headerTruncatedBackTitle?: string,
headerBackTitleStyle?: TextStyleProp,
headerPressColorAndroid?: string,