Skip to content

Commit 1fadd3f

Browse files
committed
added prop presentationStyle in DatePickerInput
1 parent a664627 commit 1fadd3f

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/Date/DatePickerInput.shared.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ export type DatePickerInputProps = {
2626
inputEnabled?: boolean
2727
disableStatusBarPadding?: boolean
2828
animationType?: 'slide' | 'fade' | 'none'
29+
presentationStyle?: 'fullScreen' | 'pageSheet' | 'formSheet' | 'overFullScreen'
2930
} & Omit<
3031
React.ComponentProps<typeof TextInput>,
3132
'value' | 'onChange' | 'onChangeText' | 'inputMode'

src/Date/DatePickerInput.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ function DatePickerInput(
1212
withModal = true,
1313
calendarIcon = 'calendar',
1414
animationType = 'slide',
15+
presentationStyle = "fullScreen",
1516
...rest
1617
}: DatePickerInputProps,
1718
ref: any
@@ -78,6 +79,7 @@ function DatePickerInput(
7879
inputEnabled={inputEnabled}
7980
disableStatusBarPadding={disableStatusBarPadding ?? false}
8081
animationType={animationType}
82+
presentationStyle={presentationStyle}
8183
/>
8284
) : null
8385
}

0 commit comments

Comments
 (0)