From 6b3db415820ad35f977e306975b7331cfa4df316 Mon Sep 17 00:00:00 2001
From: Eric Wiener <ericwiener3@gmail.com>
Date: Sat, 9 May 2020 08:26:19 -0400
Subject: [PATCH 1/3] Updated README to reflect correct usage of GorgeousHeader

The header previously said to import `GorgeousHeader` as just `Gorgeous`, but this was causing an invalid import. Updated the README to reflect correct usage.
---
 README.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index f7d042d..9580316 100755
--- a/README.md
+++ b/README.md
@@ -60,9 +60,9 @@ npm i @freakycoder/react-native-header-view
 ## Gorgeous Header Usage
 
 ```jsx
-import { Gorgeous } from "@freakycoder/react-native-header-view";
+import { GorgeousHeader } from "@freakycoder/react-native-header-view";
 
-<Gorgeous onChangeText={(text) => console.log(text)} />;
+<GorgeousHeader onChangeText={(text) => console.log(text)} />;
 ```
 
 ## Apple Header Usage

From fa740192110047bfcafbffb3d016282b2c7dfadd Mon Sep 17 00:00:00 2001
From: Eric Wiener <ericwiener3@gmail.com>
Date: Sat, 9 May 2020 08:40:49 -0400
Subject: [PATCH 2/3] GorgeousHeader: Added searchBarStyle prop to style search
 container

Added a search bar style prop that can be used to override the default
styles associated with the search bar container. This is useful if you
want to add shadow or decrease the margin between the text and search bar.
---
 README.md                                           | 1 +
 lib/src/components/GorgeousHeader/GorgeousHeader.js | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md
index 9580316..aba83e5 100755
--- a/README.md
+++ b/README.md
@@ -149,6 +149,7 @@ import { ClassicHeader } from "@freakycoder/react-native-header-view";
 | searchIcon          |  asset   |            default             | set your own icon for the search one                                    |
 | titleTextStyle      |  style   |            default             | set your own style for title text                                       |
 | subtitleTextStyle   |  style   |            default             | set your own style for subtitle text                                    |
+| searchBarStyle      |  style   |            default             | set your own style for search text input container                      |
 | searchInputStyle    |  style   |            default             | set your own style for search text input                                |
 | menuImageStyle      |  style   |            default             | set your own style for hamburger menu image                             |
 | menuImageSource     |  asset   |            default             | set your own image instead of default hamburger menu image              |
diff --git a/lib/src/components/GorgeousHeader/GorgeousHeader.js b/lib/src/components/GorgeousHeader/GorgeousHeader.js
index ed41c51..9b47cb5 100644
--- a/lib/src/components/GorgeousHeader/GorgeousHeader.js
+++ b/lib/src/components/GorgeousHeader/GorgeousHeader.js
@@ -46,6 +46,7 @@ class GorgeousHeader extends Component {
       subtitle,
       searchIcon,
       titleTextStyle,
+      searchBarStyle,
       searchInputStyle,
       subtitleTextStyle,
     } = this.props;
@@ -55,7 +56,7 @@ class GorgeousHeader extends Component {
         <Text style={subtitleTextStyle || styles.subtitleTextStyle}>
           {subtitle}
         </Text>
-        <View style={styles.searchBarStyle}>
+        <View style={[styles.searchBarStyle, searchBarStyle]}>
           <Image
             style={styles.searchImageStyle}
             source={searchIcon || searchImage}

From 8f8596330e86779f6394a6f8b8101c42d1d3e4b6 Mon Sep 17 00:00:00 2001
From: Eric Wiener <ericwiener3@gmail.com>
Date: Sun, 10 May 2020 12:32:17 -0400
Subject: [PATCH 3/3] Modified style overriding for search bar container

Changed the custom styling for the search bar container from being
additional styles applied ontop of the default styles to replacing
the default styles entirely.
---
 lib/src/components/GorgeousHeader/GorgeousHeader.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/src/components/GorgeousHeader/GorgeousHeader.js b/lib/src/components/GorgeousHeader/GorgeousHeader.js
index 9b47cb5..b30f9fc 100644
--- a/lib/src/components/GorgeousHeader/GorgeousHeader.js
+++ b/lib/src/components/GorgeousHeader/GorgeousHeader.js
@@ -56,7 +56,7 @@ class GorgeousHeader extends Component {
         <Text style={subtitleTextStyle || styles.subtitleTextStyle}>
           {subtitle}
         </Text>
-        <View style={[styles.searchBarStyle, searchBarStyle]}>
+        <View style={searchBarStyle || styles.searchBarStyle}>
           <Image
             style={styles.searchImageStyle}
             source={searchIcon || searchImage}
