Skip to content

Commit 0873987

Browse files
committed
Country Code Dropdown
0 parents  commit 0873987

File tree

6 files changed

+353
-0
lines changed

6 files changed

+353
-0
lines changed

_inc/_lib/enhanced.js

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

_inc/images/close.png

759 Bytes
Loading

_inc/images/search.png

1.59 KB
Loading

index.d.ts

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
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

Comments
 (0)