From edfb32667c8b98f2686ab7aaa546105edb66950d Mon Sep 17 00:00:00 2001 From: keplyx Date: Fri, 15 Nov 2019 16:44:10 +0100 Subject: [PATCH] Improved headers search bar design --- components/CustomHeader.js | 13 +++++++++---- native-base-theme/variables/platform.js | 1 + native-base-theme/variables/platformDark.js | 1 + 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/components/CustomHeader.js b/components/CustomHeader.js index b966c1e..583324a 100644 --- a/components/CustomHeader.js +++ b/components/CustomHeader.js @@ -47,8 +47,13 @@ export default class CustomHeader extends React.Component { width: '100%', marginBottom: 7 }}> - this.props.searchCallback(text)}/> + + this.props.searchCallback(text)}/> ); } @@ -71,7 +76,7 @@ export default class CustomHeader extends React.Component { return (
- + {button} @@ -79,7 +84,7 @@ export default class CustomHeader extends React.Component { this.getSearchBar() : {this.props.title}} - + {this.props.rightButton} {this.props.hasBackButton ? :