diff --git a/src/Date/DatePickerInput.shared.tsx b/src/Date/DatePickerInput.shared.tsx index af5d2b39..61e1af2b 100644 --- a/src/Date/DatePickerInput.shared.tsx +++ b/src/Date/DatePickerInput.shared.tsx @@ -26,6 +26,11 @@ export type DatePickerInputProps = { inputEnabled?: boolean disableStatusBarPadding?: boolean animationType?: 'slide' | 'fade' | 'none' + presentationStyle?: + | 'fullScreen' + | 'pageSheet' + | 'formSheet' + | 'overFullScreen' } & Omit< React.ComponentProps, 'value' | 'onChange' | 'onChangeText' | 'inputMode' diff --git a/src/Date/DatePickerInput.tsx b/src/Date/DatePickerInput.tsx index 642c7a04..9005cc94 100644 --- a/src/Date/DatePickerInput.tsx +++ b/src/Date/DatePickerInput.tsx @@ -12,6 +12,7 @@ function DatePickerInput( withModal = true, calendarIcon = 'calendar', animationType = 'slide', + presentationStyle = 'fullScreen', ...rest }: DatePickerInputProps, ref: any @@ -78,6 +79,7 @@ function DatePickerInput( inputEnabled={inputEnabled} disableStatusBarPadding={disableStatusBarPadding ?? false} animationType={animationType} + presentationStyle={presentationStyle} /> ) : null }