UNPKG

@artmajeur/react-native-paper-phone-number-input

Version:

A performant phone number input component for react-native-paper with country picker

47 lines (28 loc) 1.17 kB
# React Native Paper Phone Number Input This package is a customized fork of [react-native-paper-phone-number-input](https://github.com/kuasha420/react-native-paper-phone-number-input), originally designed to handle phone number and country picker inputs in React Native using React Native Paper components. We've enhanced the original project with additional features to better suit the needs of **ArtMajeur**, including internationalization and extended functionality. --- ## ✨ Key Improvements - 🌍 Added country name translations using the `i18n-iso-countries` library. - 📦 Country code is now returned when a user selects a country. --- ## 📦 Installation Install the package via your preferred package manager: **Using Yarn:** ```bash yarn add @artmajeur/react-native-paper-phone-number-input ``` **Using NPM:** ```bash npm install @artmajeur/react-native-paper-phone-number-input ``` --- ## 🚀 Publishing a New Version To update and publish a new version of the package: 1. Make your changes in the repository. 2. Update the version number in the `package.json` file. 3. Run the following command to publish: ```bash npm publish ``` ---