File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -5,8 +5,7 @@ import DatePickerModal from './DatePickerModal'
55import { useLatest } from '../utils'
66import type { DatePickerInputProps } from './DatePickerInput.shared'
77import DatePickerInputWithoutModal from './DatePickerInputWithoutModal'
8- import { StyleProp } from 'react-native'
9- import { ViewStyle } from 'react-native'
8+ import { StyleProp , ViewStyle } from 'react-native'
109
1110function DatePickerInput (
1211 {
Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ function DatePickerInputWithoutModal(
9292 disabled = { disabled }
9393 onChangeText = { onDateInputChangeText }
9494 onChange = { ( e ) => onChangeText && onChangeText ( e . nativeEvent . text ) }
95- keyboardAppearance = { theme . dark ? 'dark' : 'default' }
95+ keyboardAppearance = { rest . keyboardAppearance ?? ( theme . dark ? 'dark' : 'default' ) }
9696 error = { ( ! ! error && ! hideValidationErrors ) || ! ! hasError }
9797 style = { [ styles . input , style ] }
9898 inputButton = { inputButton }
You can’t perform that action at this time.
0 commit comments