|
|
@ -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, |
|
|
|