From a453f48a5596fca62fb2a25fafa9ccb842cff9fe Mon Sep 17 00:00:00 2001 From: GabrielTrettel Date: Wed, 10 Nov 2021 19:16:58 -0300 Subject: [PATCH] Changing TextInput shadow lib --- src/app/components/TextInput.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app/components/TextInput.js b/src/app/components/TextInput.js index f7579ce..a91ed59 100644 --- a/src/app/components/TextInput.js +++ b/src/app/components/TextInput.js @@ -3,7 +3,6 @@ import { View, TextInput, StyleSheet } from "react-native"; import { MaterialCommunityIcons } from "@expo/vector-icons"; import colors from "../config/colors"; import defaultStyles from "../config/styles"; -import { Shadow } from "react-native-shadow-2"; function AppTextInput({ icon, width = "100%", ...otherProps }) { return ( @@ -28,6 +27,8 @@ function AppTextInput({ icon, width = "100%", ...otherProps }) { const styles = StyleSheet.create({ container: { ...defaultStyles.shadow, + flexDirection: "row", + alignItems: "center", backgroundColor: colors.white, borderRadius: 6, borderColor: colors.grayBG,