File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
src/components/touchableOpacity Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -44,9 +44,9 @@ export interface TouchableOpacityProps
44
44
customValue ?: any ;
45
45
style ?: ViewProps [ 'style' ] ;
46
46
onPress ?: ( props ?: TouchableOpacityProps | any ) => void ;
47
- onPressIn ?: ( props ?: TouchableOpacityProps ) => void | RNTouchableOpacityProps [ 'onPressIn' ] ;
48
- onPressOut ?: ( props ?: TouchableOpacityProps ) => void | RNTouchableOpacityProps [ 'onPressOut' ] ;
49
- onLongPress ?: ( props ?: TouchableOpacityProps ) => void | RNTouchableOpacityProps [ 'onLongPress' ] ;
47
+ onPressIn ?: ( props ?: TouchableOpacityProps | any ) => void | RNTouchableOpacityProps [ 'onPressIn' ] ;
48
+ onPressOut ?: ( props ?: TouchableOpacityProps | any ) => void | RNTouchableOpacityProps [ 'onPressOut' ] ;
49
+ onLongPress ?: ( props ?: TouchableOpacityProps | any ) => void | RNTouchableOpacityProps [ 'onLongPress' ] ;
50
50
}
51
51
52
52
type Props = BaseComponentInjectedProps & ForwardRefInjectedProps & TouchableOpacityProps ;
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ const PickerWrapper = () => {
23
23
onChange = { setLanguage }
24
24
topBarProps = { { title : 'Languages' } }
25
25
showSearch
26
+ fieldType = { Picker . fieldTypes . filter }
26
27
searchPlaceholder = { 'Search a language' }
27
28
searchStyle = { { color : Colors . blue30 , placeholderTextColor : Colors . grey50 } }
28
29
migrateTextField
You can’t perform that action at this time.
0 commit comments