react-native-international-phone-number 0.2.4 → 0.2.6

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.
Files changed (2) hide show
  1. package/README.md +7 -4
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -13,10 +13,13 @@
13
13
  <a href="https://www.npmjs.com/package/react-native-international-phone-number">
14
14
  <img src="https://img.shields.io/npm/dm/react-native-international-phone-number.svg?style=flat-square">
15
15
  </a>
16
- <a href="https://www.npmjs.com/package/react-native-international-phone-number">
16
+ <a href="https://github.com/AstrOOnauta/react-native-international-phone-number">
17
+ <img src="https://img.shields.io/github/stars/AstrOOnauta/react-native-international-phone-number"/>
18
+ </a>
19
+ <a href="https://github.com/AstrOOnauta/react-native-international-phone-number/issues">
17
20
  <img src="https://img.shields.io/github/issues/AstrOOnauta/react-native-international-phone-number"/>
18
21
  </a>
19
- <a href="https://www.npmjs.com/package/react-native-international-phone-number">
22
+ <a href="https://github.com/AstrOOnauta/react-native-international-phone-number/pulls">
20
23
  <img src="https://img.shields.io/github/issues-pr/AstrOOnauta/react-native-international-phone-number"/>
21
24
  </a>
22
25
  </p>
@@ -86,11 +89,11 @@ export default function App() {
86
89
  }
87
90
  ```
88
91
 
89
- ## Advanced Usage Using React-Hook-Form ans Typescript
92
+ ## Advanced Usage - React-Hook-Form and Typescript
90
93
 
91
94
  ```tsx
92
95
  import React, { useState } from 'react';
93
- import { View, Text } from 'react-native';
96
+ import { View, Text, Alert } from 'react-native';
94
97
  import {
95
98
  phoneMask,
96
99
  PhoneInput,
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "react-native-international-phone-number",
3
3
  "author": "AstrOOnauta (https://github.com/AstrOOnauta)",
4
- "version": "0.2.4",
4
+ "version": "0.2.6",
5
5
  "description": "International mobile phone input component with mask for React Native",
6
6
  "main": "lib/index.js",
7
- "types": "lib/index.d.tsx",
7
+ "types": "lib/index.d.ts",
8
8
  "scripts": {
9
9
  "test": "echo \"Error: no test specified\" && exit 1"
10
10
  },