react-native-international-phone-number 0.9.0 → 0.9.2

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.
@@ -663,7 +663,7 @@ export const countries = [
663
663
  zh: '布基納法索',
664
664
  tr: 'Burkina Faso',
665
665
  },
666
- phoneMasks: ['## ## ####'],
666
+ phoneMasks: ['## ## ## ##'],
667
667
  },
668
668
  {
669
669
  callingCode: '+359',
package/lib/index.js CHANGED
@@ -484,6 +484,7 @@ const PhoneInput = forwardRef(
484
484
  )}
485
485
  pickerButtonOnPress={onSelect}
486
486
  onBackdropPress={() => setShow(false)}
487
+ onRequestClose={() => setShow(false)}
487
488
  showOnly={showOnly}
488
489
  excludedCountries={excludedCountries}
489
490
  popularCountries={popularCountries}
@@ -1,4 +1,4 @@
1
- import React, { Ref, ReactNode } from 'react';
1
+ import { Ref, ReactNode } from 'react';
2
2
  import { TextInputProps } from 'react-native';
3
3
 
4
4
  import { ICountry } from './country';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "react-native-international-phone-number",
3
3
  "author": "AstrOOnauta (https://github.com/AstrOOnauta)",
4
- "version": "0.9.0",
4
+ "version": "0.9.2",
5
5
  "description": "International mobile phone input component with mask for React Native",
6
6
  "main": "lib/index.js",
7
7
  "types": "lib/index.d.ts",