Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

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

YourArtOfficial937MIT1.0.16TypeScript support: included

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

react-native-paper, react-native, phone-number-input, react-native-phone-number-input, react-native-calling-code-picker

readme

React Native Paper Phone Number Input

This package is a customized fork of 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:

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

Using NPM:

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:
npm publish