1+ import { ViewStyle } from 'react-native' ;
2+
3+
4+ export interface CountryCodeProps {
5+ /**
6+ * Selected Country Dial Code
7+ */
8+ selected : string ,
9+ /**
10+ * Function to set the country
11+ */
12+ setSelected : React . Dispatch < React . SetStateAction < undefined > > ,
13+ /**
14+ * Function to set the country
15+ */
16+ setCountryDetails : React . Dispatch < React . SetStateAction < undefined > > ,
17+ /**
18+ * State variable for storing the phone number
19+ */
20+ phone ?: string ,
21+ /**
22+ * Function to set the phone number state variable
23+ */
24+ setPhone ?: React . Dispatch < React . SetStateAction < undefined > > ,
25+ /**
26+ * Style the Country Code Container
27+ */
28+ countryCodeContainerStyles ?: ViewStyle ,
29+ /**
30+ * Style the text inside Country Code
31+ */
32+ countryCodeTextStyles ?: ViewStyle ,
33+ /**
34+ * Phone Text Input Styles
35+ */
36+ phoneStyles ?: ViewStyle ,
37+ /**
38+ * URL for the search Icon
39+ */
40+ searchIcon ?: string ,
41+ /**
42+ * URL for the close Icon
43+ */
44+ closeIcon ?: string ,
45+ /**
46+ * Search Input Text Styles
47+ */
48+ searchStyles ?: ViewStyle ,
49+ /**
50+ * Search Dropdown Container Styles
51+ */
52+ dropdownStyles ?: ViewStyle ,
53+ /**
54+ * Search Dropdown Text Styles
55+ */
56+ dropdownTextStyles ?: ViewStyle
57+
58+ }
0 commit comments