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>
</Text>
</View>
<View style={[a.w_full, a.align_center]}>
<DateInput
handleAsUTC
testID="birthdayInput"
@ -101,6 +102,7 @@ function BirthdayInner({
accessibilityHint={_(msg`Enter your birth date`)}
accessibilityLabelledBy="birthDate"
/>
</View>
{isError ? (
<ErrorMessage message={cleanError(error)} style={[a.rounded_sm]} />
) : undefined}