File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 9
9
TextInput ,
10
10
Image ,
11
11
ViewStyle ,
12
+ TextStyle ,
12
13
} from "react-native" ;
13
14
import { countries , _getFlag } from "./_inc/_lib/enhanced" ;
14
15
@@ -40,7 +41,7 @@ interface CountryCodeProps {
40
41
/**
41
42
* Style the text inside Country Code
42
43
*/
43
- countryCodeTextStyles ?: ViewStyle ;
44
+ countryCodeTextStyles ?: TextStyle ;
44
45
/**
45
46
* Phone Text Input Styles
46
47
*/
@@ -60,7 +61,7 @@ interface CountryCodeProps {
60
61
/**
61
62
* Search Input Text Styles
62
63
*/
63
- searchTextStyles ?: ViewStyle ;
64
+ searchTextStyles ?: TextStyle ;
64
65
/**
65
66
/**
66
67
* Search Dropdown Container Styles
@@ -69,7 +70,7 @@ interface CountryCodeProps {
69
70
/**
70
71
* Search Dropdown Text Styles
71
72
*/
72
- dropdownTextStyles ?: ViewStyle ;
73
+ dropdownTextStyles ?: TextStyle ;
73
74
/**
74
75
* Search Dropdown Text Container Styles
75
76
*/
@@ -91,6 +92,7 @@ const CountryCodeDropdownPicker: React.FC<CountryCodeProps> = ({
91
92
searchTextStyles = { } ,
92
93
dropdownStyles = { } ,
93
94
dropdownTextStyles = { } ,
95
+ dropdownTextContainerStyles = { } ,
94
96
} ) => {
95
97
const [ _selected , _setSelected ] = React . useState ( false ) ;
96
98
const [ _search , _setSearch ] = React . useState ( "" ) ;
You can’t perform that action at this time.
0 commit comments