|
@ -3,7 +3,6 @@ import { View, TextInput, StyleSheet } from "react-native"; |
|
|
import { MaterialCommunityIcons } from "@expo/vector-icons"; |
|
|
import { MaterialCommunityIcons } from "@expo/vector-icons"; |
|
|
import colors from "../config/colors"; |
|
|
import colors from "../config/colors"; |
|
|
import defaultStyles from "../config/styles"; |
|
|
import defaultStyles from "../config/styles"; |
|
|
import { Shadow } from "react-native-shadow-2"; |
|
|
|
|
|
|
|
|
|
|
|
function AppTextInput({ icon, width = "100%", ...otherProps }) { |
|
|
function AppTextInput({ icon, width = "100%", ...otherProps }) { |
|
|
return ( |
|
|
return ( |
|
@ -28,6 +27,8 @@ function AppTextInput({ icon, width = "100%", ...otherProps }) { |
|
|
const styles = StyleSheet.create({ |
|
|
const styles = StyleSheet.create({ |
|
|
container: { |
|
|
container: { |
|
|
...defaultStyles.shadow, |
|
|
...defaultStyles.shadow, |
|
|
|
|
|
flexDirection: "row", |
|
|
|
|
|
alignItems: "center", |
|
|
backgroundColor: colors.white, |
|
|
backgroundColor: colors.white, |
|
|
borderRadius: 6, |
|
|
borderRadius: 6, |
|
|
borderColor: colors.grayBG, |
|
|
borderColor: colors.grayBG, |
|
|