@@ -4,23 +4,24 @@ import * as React from 'react';
44import { ViewStyle , TextStyle , StyleProp , KeyboardTypeOptions } from 'react-native' ;
55
66type AutocompleteProps = {
7- autoCorrect ?: boolean ,
7+ autoCorrect ?: boolean ;
88 keyboardType ?: KeyboardTypeOptions ;
9- highlightText ?: boolean ,
10- highLightColor ?: string ,
11- rightContent ?: boolean ,
12- resetOnSelect ?: boolean ,
13- minimumCharactersCount ?: number ,
14- waitInterval ?: number ,
15- placeholder ?: string ,
16- placeholderColor ?: string ,
17- spinnerSize ?: string ,
18- spinnerColor ?: string ,
19- listHeader ?: string ,
20- fetchDataUrl ?: string ,
9+ highlightText ?: boolean ;
10+ highLightColor ?: string ;
11+ rightContent ?: boolean ;
12+ resetOnSelect ?: boolean ;
13+ minimumCharactersCount ?: number ;
14+ waitInterval ?: number ;
15+ placeholder ?: string ;
16+ placeholderColor ?: string ;
17+ spinnerSize ?: string ;
18+ spinnerColor ?: string ;
19+ listHeader ?: string ;
20+ fetchDataUrl ?: string ;
2121 noDataText ?: string ;
2222 initialValue ?: string ;
2323 inputContainerStyle ?: StyleProp < ViewStyle > ;
24+ disableFullscreenUI ?: boolean ;
2425 inputStyle ?: StyleProp < TextStyle > ;
2526 spinnerStyle ?: StyleProp < ViewStyle > ;
2627 noDataTextStyle ?: StyleProp < TextStyle > ;
@@ -35,15 +36,15 @@ type AutocompleteProps = {
3536 containerStyle ?: StyleProp < ViewStyle > ;
3637 scrollStyle ?: StyleProp < ViewStyle > ;
3738
38- scrollToInput ?: ( ev : any ) => void ,
39- handleSelectItem : ( item : any , index : number ) => void ,
40- onDropdownShow ?: ( ) => void ,
41- onDropdownClose ?: ( ) => void ,
42- onChangeText ?: ( search : string ) => void ,
43- renderIcon ?: ( ) => void ,
44- valueExtractor ?: ( item : any ) => void ,
45- rightTextExtractor ?: ( item : any ) => void ,
46- fetchData ?: ( search : string ) => Promise < any [ ] > ,
39+ scrollToInput ?: ( ev : any ) => void ;
40+ handleSelectItem : ( item : any , index : number ) => void ;
41+ onDropdownShow ?: ( ) => void ;
42+ onDropdownClose ?: ( ) => void ;
43+ onChangeText ?: ( search : string ) => void ;
44+ renderIcon ?: ( ) => void ;
45+ valueExtractor ?: ( item : any ) => void ;
46+ rightTextExtractor ?: ( item : any ) => void ;
47+ fetchData ?: ( search : string ) => Promise < any [ ] > ;
4748}
4849
4950export class Autocomplete extends React . Component < AutocompleteProps , any > {
0 commit comments