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 99 TextInput ,
1010 Image ,
1111 ViewStyle ,
12+ TextStyle ,
1213} from "react-native" ;
1314import { countries , _getFlag } from "./_inc/_lib/enhanced" ;
1415
@@ -40,7 +41,7 @@ interface CountryCodeProps {
4041 /**
4142 * Style the text inside Country Code
4243 */
43- countryCodeTextStyles ?: ViewStyle ;
44+ countryCodeTextStyles ?: TextStyle ;
4445 /**
4546 * Phone Text Input Styles
4647 */
@@ -60,7 +61,7 @@ interface CountryCodeProps {
6061 /**
6162 * Search Input Text Styles
6263 */
63- searchTextStyles ?: ViewStyle ;
64+ searchTextStyles ?: TextStyle ;
6465 /**
6566 /**
6667 * Search Dropdown Container Styles
@@ -69,7 +70,7 @@ interface CountryCodeProps {
6970 /**
7071 * Search Dropdown Text Styles
7172 */
72- dropdownTextStyles ?: ViewStyle ;
73+ dropdownTextStyles ?: TextStyle ;
7374 /**
7475 * Search Dropdown Text Container Styles
7576 */
@@ -90,6 +91,7 @@ const CountryCodeDropdownPicker: React.FC<CountryCodeProps> = ({
9091 searchTextStyles = { } ,
9192 dropdownStyles = { } ,
9293 dropdownTextStyles = { } ,
94+ dropdownTextContainerStyles = { } ,
9395} ) => {
9496 const [ _selected , _setSelected ] = React . useState ( false ) ;
9597 const [ _search , _setSearch ] = React . useState ( "" ) ;
You can’t perform that action at this time.
0 commit comments