Skip to content

Commit

Permalink
fix: datepicker styling
Browse files Browse the repository at this point in the history
  • Loading branch information
mgramigna committed Dec 16, 2023
1 parent a55d6bd commit af64f76
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apps/expo/src/app/(auth)/sign-up.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { Button } from '@/components/atoms/Button';
import { Text } from '@/components/atoms/Text';
import { TextInput } from '@/components/atoms/TextInput';
import { ScreenView } from '@/components/molecules/ScreenView';
import { palette } from '@/theme/colors';
import { zodResolver } from '@hookform/resolvers/zod';
import dayjs from 'dayjs';
import { Controller, useForm } from 'react-hook-form';
Expand Down Expand Up @@ -127,7 +128,10 @@ const SignUp = () => {
name="dateOfBirth"
render={({ field: { onChange, value } }) => (
<DateTimePickerModal
textColor={palette.coolGray[900]}
pickerContainerStyleIOS={{ backgroundColor: palette.coolGray[50] }}
isVisible={datePickerOpen}
buttonTextColorIOS={palette.pink[500]}
date={value}
mode="date"
onConfirm={(date) => {
Expand Down

0 comments on commit af64f76

Please sign in to comment.