We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01b13e6 commit ab27289Copy full SHA for ab27289
src/Date/DatePickerInput.tsx
@@ -6,13 +6,14 @@ import { useLatest } from '../utils'
6
import type { DatePickerInputProps } from './DatePickerInput.shared'
7
import DatePickerInputWithoutModal from './DatePickerInputWithoutModal'
8
import { StyleProp, ViewStyle } from 'react-native'
9
+import { Platform } from 'react-native'
10
11
function DatePickerInput(
12
{
13
withModal = true,
14
calendarIcon = 'calendar',
15
animationType = 'slide',
- presentationStyle = 'fullScreen',
16
+ presentationStyle = Platform.OS === 'ios' ? 'fullScreen' : 'pageSheet',
17
...rest
18
}: DatePickerInputProps,
19
ref: any
0 commit comments