|
|
@ -38,6 +38,7 @@ import ConfirmationModal from "../components/ConfirmationModal"; |
|
|
|
import PasswordFormField from "../components/forms/PasswordFormField"; |
|
|
|
import constants from "../config/constants"; |
|
|
|
import CheckBox from "../components/forms/CheckBox"; |
|
|
|
import defaultStyles from "../config/styles" |
|
|
|
|
|
|
|
const phoneRegex = RegExp( |
|
|
|
/^\(?[\(]?([0-9]{2,3})?\)?[)\b]?([0-9]{4,5})[-. ]?([0-9]{4})$/ |
|
|
@ -80,22 +81,16 @@ function LocalDatePicker({ date, setDate, _moment }) { |
|
|
|
date={date} |
|
|
|
> |
|
|
|
<View style={[styles.dateInput, { flex: 1, paddingRight: 2 }]}> |
|
|
|
<Shadow |
|
|
|
offset={[0, 3]} |
|
|
|
distance={3} |
|
|
|
radius={4} |
|
|
|
startColor="rgba(0, 0, 0, 0.15)" |
|
|
|
paintInside={true} |
|
|
|
viewStyle={{ width: "100%", height: 48 }} |
|
|
|
> |
|
|
|
<View |
|
|
|
style={{ |
|
|
|
...defaultStyles.shadow, |
|
|
|
height: 58, |
|
|
|
paddingLeft: 12, |
|
|
|
backgroundColor: colors.white, |
|
|
|
height: 48, |
|
|
|
borderColor: colors.grayBG, |
|
|
|
borderWidth: 1, |
|
|
|
borderRadius: 4, |
|
|
|
padding: 5, |
|
|
|
borderRadius: 6, |
|
|
|
flexDirection: "row", |
|
|
|
alignItems: "center", |
|
|
|
}} |
|
|
@ -111,7 +106,6 @@ function LocalDatePicker({ date, setDate, _moment }) { |
|
|
|
: "Selecione a data de nascimento"} |
|
|
|
</Text> |
|
|
|
</View> |
|
|
|
</Shadow> |
|
|
|
</View> |
|
|
|
</FormDatePicker> |
|
|
|
</View> |
|
|
|