react-native-phone-country-input 1.0.6 → 1.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +22 -22
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -4,6 +4,28 @@
|
|
|
4
4
|
|
|
5
5
|
An international phone number input for React Native with country selection, per-country number masking, and a custom keyboard that avoids the native soft keyboard. Ideal for quick changing country codes, entering phone numbers or using bigger devices like tablets that do not have native support for phone number keyboards.
|
|
6
6
|
|
|
7
|
+
## Peer dependencies
|
|
8
|
+
|
|
9
|
+
Install these if they are not already in your project:
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
npm install \
|
|
13
|
+
react-native-reanimated \
|
|
14
|
+
react-native-gesture-handler \
|
|
15
|
+
react-native-teleport \
|
|
16
|
+
expo-localization \
|
|
17
|
+
@react-native-async-storage/async-storage \
|
|
18
|
+
@react-native-clipboard/clipboard
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
Follow each library's setup guide for any native configuration required.
|
|
22
|
+
|
|
23
|
+
## Installation
|
|
24
|
+
|
|
25
|
+
```sh
|
|
26
|
+
npm install react-native-phone-country-input
|
|
27
|
+
```
|
|
28
|
+
|
|
7
29
|
## Features
|
|
8
30
|
|
|
9
31
|
- 270+ countries with flags, calling codes, and phone masks
|
|
@@ -42,28 +64,6 @@ Tested on:
|
|
|
42
64
|

|
|
43
65
|

|
|
44
66
|
|
|
45
|
-
## Peer dependencies
|
|
46
|
-
|
|
47
|
-
Install these if they are not already in your project:
|
|
48
|
-
|
|
49
|
-
```sh
|
|
50
|
-
npm install \
|
|
51
|
-
react-native-reanimated \
|
|
52
|
-
react-native-gesture-handler \
|
|
53
|
-
react-native-teleport \
|
|
54
|
-
expo-localization \
|
|
55
|
-
@react-native-async-storage/async-storage \
|
|
56
|
-
@react-native-clipboard/clipboard
|
|
57
|
-
```
|
|
58
|
-
|
|
59
|
-
Follow each library's setup guide for any native configuration required.
|
|
60
|
-
|
|
61
|
-
## Installation
|
|
62
|
-
|
|
63
|
-
```sh
|
|
64
|
-
npm install react-native-phone-country-input
|
|
65
|
-
```
|
|
66
|
-
|
|
67
67
|
## Setup
|
|
68
68
|
|
|
69
69
|
Wrap your app (or the screen that uses this component) in `PortalProvider` and render a `PortalHost`. The custom keyboard and feedback modals render through a portal to escape z-index stacking.
|
package/package.json
CHANGED