From 7812b82b188b7d8e5af10dc5b9a0f6efaaae97d7 Mon Sep 17 00:00:00 2001 From: Dan Scanlon Date: Thu, 2 Feb 2017 04:50:52 -0800 Subject: [PATCH] Add `style` and `imageStyle` props to Navigation.Header.BackButton Summary: This PR adds`style` and `imageStyle` props to `Navigation.Header.BackButton` which allows for usage like: ```javascript ``` Closes https://github.com/facebook/react-native/pull/11554 Differential Revision: D4494460 Pulled By: mkonicek fbshipit-source-id: 387a69d0b76bb8e7ef47caf1f6141f97fad0ea4b --- .../NavigationExperimental/NavigationHeaderBackButton.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Libraries/CustomComponents/NavigationExperimental/NavigationHeaderBackButton.js b/Libraries/CustomComponents/NavigationExperimental/NavigationHeaderBackButton.js index e4d772a5bb..f3e901f3fd 100644 --- a/Libraries/CustomComponents/NavigationExperimental/NavigationHeaderBackButton.js +++ b/Libraries/CustomComponents/NavigationExperimental/NavigationHeaderBackButton.js @@ -35,12 +35,14 @@ const { } = ReactNative; type Props = { + imageStyle?: any, onPress: Function, + style?: any, }; const NavigationHeaderBackButton = (props: Props) => ( - - + + );