From 63462c674814485e70c78b2f02dedebf206e4b0c Mon Sep 17 00:00:00 2001 From: Scott Le Date: Sun, 7 May 2017 15:29:48 +0700 Subject: [PATCH] fix wrong place of background color --- example/main.js | 1 - example/package.json | 2 +- index.js | 2 +- package.json | 2 +- 4 files changed, 3 insertions(+), 4 deletions(-) diff --git a/example/main.js b/example/main.js index 76dd3a3..4fdfe69 100644 --- a/example/main.js +++ b/example/main.js @@ -110,7 +110,6 @@ const styles = StyleSheet.create({ bottom: 0, }, progressiveInput: { - backgroundColor: 'white', marginTop: 20, marginLeft: 10, marginRight: 10, diff --git a/example/package.json b/example/package.json index f5c9aa5..ce16e52 100644 --- a/example/package.json +++ b/example/package.json @@ -9,7 +9,7 @@ "expo": "16.0.0", "react": "16.0.0-alpha.6", "react-native": "https://github.com/expo/react-native/archive/sdk-16.0.0.tar.gz", - "react-native-progressive-input": "^1.0.1", + "react-native-progressive-input": "^1.0.2", "react-native-vector-icons": "^4.1.0" } } diff --git a/index.js b/index.js index 6396195..6bc246d 100644 --- a/index.js +++ b/index.js @@ -8,6 +8,7 @@ const styles = StyleSheet.create({ alignItems: 'center', borderWidth: 1, borderColor: 'lightgrey', + backgroundColor: 'white', }, clearIcon: { marginLeft: 5, @@ -16,7 +17,6 @@ const styles = StyleSheet.create({ flex: 1, height: 40, marginLeft: 10, - backgroundColor: 'white', }, activityIndicator: { marginLeft: 5, diff --git a/package.json b/package.json index 6a12cc1..145a8ef 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-progressive-input", - "version": "1.0.2", + "version": "1.0.3", "description": "Use this to create autocomplete text input which the text box can have both clear button and an activity indicator to show the background job", "main": "index.js", "repository": "https://github.com/khaiql/react-native-progressive-input",