ordering-ui-react-native 0.22.21 → 0.22.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -380,17 +380,19 @@ export const UserFormDetailsUI = (props: any) => {
|
|
|
380
380
|
),
|
|
381
381
|
)}
|
|
382
382
|
{showInputBirthday && (
|
|
383
|
-
|
|
384
|
-
<
|
|
385
|
-
{
|
|
386
|
-
|
|
387
|
-
<TouchableOpacity onPress={() => setShowDatePicker(!showDatePicker)}>
|
|
388
|
-
<OText size={14} lineHeight={21} color={theme.colors.textNormal} weight={'500'} style={{ marginTop: 6, marginBottom: -15 }}>
|
|
389
|
-
{birthdate ? moment(birthdate).format('YYYY-MM-DD') : ''}
|
|
383
|
+
<>
|
|
384
|
+
<WrapperBirthdate>
|
|
385
|
+
<OText size={14} lineHeight={21} color={theme.colors.textNormal} weight={'500'} style={{ textTransform: 'capitalize', alignSelf: 'flex-start' }}>
|
|
386
|
+
{t('BIRTHDATE', 'Birthdate')}
|
|
390
387
|
</OText>
|
|
391
|
-
|
|
388
|
+
<TouchableOpacity onPress={() => setShowDatePicker(!showDatePicker)}>
|
|
389
|
+
<OText size={14} lineHeight={21} color={theme.colors.textNormal} weight={'500'} style={{ marginTop: 6 }}>
|
|
390
|
+
{birthdate ? moment(birthdate).format('YYYY-MM-DD') : ''}
|
|
391
|
+
</OText>
|
|
392
|
+
</TouchableOpacity>
|
|
393
|
+
</WrapperBirthdate>
|
|
392
394
|
<DatePickerUI open={showDatePicker} birthdate={birthdate} onConfirm={_handleChangeDate} onCancel={() => setShowDatePicker(false)} />
|
|
393
|
-
|
|
395
|
+
</>
|
|
394
396
|
)}
|
|
395
397
|
{!!showInputPhoneNumber && ((requiredFields && requiredFields.includes('cellphone')) || !requiredFields) && (
|
|
396
398
|
<WrapperPhone>
|