center date input

zio/stable
Samuel Newman 2024-03-15 16:03:08 +00:00
parent 884f37c349
commit 502df521c1
1 changed files with 14 additions and 12 deletions

View File

@ -89,6 +89,7 @@ function BirthdayInner({
<Trans>This information is not shared with other users.</Trans> <Trans>This information is not shared with other users.</Trans>
</Text> </Text>
</View> </View>
<View style={[a.w_full, a.align_center]}>
<DateInput <DateInput
handleAsUTC handleAsUTC
testID="birthdayInput" testID="birthdayInput"
@ -101,6 +102,7 @@ function BirthdayInner({
accessibilityHint={_(msg`Enter your birth date`)} accessibilityHint={_(msg`Enter your birth date`)}
accessibilityLabelledBy="birthDate" accessibilityLabelledBy="birthDate"
/> />
</View>
{isError ? ( {isError ? (
<ErrorMessage message={cleanError(error)} style={[a.rounded_sm]} /> <ErrorMessage message={cleanError(error)} style={[a.rounded_sm]} />
) : undefined} ) : undefined}