diff --git a/example/package.json b/example/package.json index 16b0bec..a0f4c5f 100644 --- a/example/package.json +++ b/example/package.json @@ -15,7 +15,7 @@ "react-native": "0.61.2", "react-native-androw": "0.0.33", "react-native-dynamic-vector-icons": "^0.2.1", - "react-native-header-search-bar": "0.0.1", + "react-native-header-search-bar": "0.1.3", "react-native-material-ripple": "^0.9.1", "react-native-vector-icons": "^6.6.0" }, diff --git a/lib/src/components/SearchBox/SearchBox.style.js b/lib/src/components/SearchBox/SearchBox.style.js index 4369fd8..fcdd3c0 100644 --- a/lib/src/components/SearchBox/SearchBox.style.js +++ b/lib/src/components/SearchBox/SearchBox.style.js @@ -1,6 +1,4 @@ -import { - isAndroid -} from "@freakycoder/react-native-helpers"; +import { isAndroid } from "@freakycoder/react-native-helpers"; export function searchBoxContainer( searchBoxWidth, @@ -13,7 +11,7 @@ export function searchBoxContainer( width: searchBoxWidth, borderRadius: searchBoxBorderRadius, backgroundColor: searchBoxBackgroundColor, - height: isAndroid && 40, + height: isAndroid ? 40 : null }; } diff --git a/package.json b/package.json index b043de9..75b8c9b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-header-search-bar", - "version": "0.1.2", + "version": "0.1.3", "description": "Fully customizable header search bar for React Native", "keywords": [ "header",