kuasha420 / react-native-paper-phone-number-input

A performant phone number input component for react-native-paper with country picker
MIT License
6 stars 1 forks source link

Fixed issue 6: Added functionality to show only specific countries to select #9

Closed ahmed-gelemli closed 1 month ago

ahmed-gelemli commented 1 month ago

Overview

This pull request adds a new feature to the PhoneNumberInput component that allows users to specify and select a list of countries. This enhances the flexibility of the component by enabling developers to restrict the country selection to a predefined list.

Changes Made

Documentation

Updated the README.md file to reflect the addition of the onlyCountries prop.

Impact

This update is backward compatible and does not affect existing functionality. It simply adds an optional feature for greater customization.

kuasha420 commented 1 month ago

Hi @ahmed-gelemli I'll review both of your PRs, but it looks like both PR is created from the same branch, so the commits are the same and bleeding into each other. If you can, it would make the review easier if you changed the branch for each PR in your fork. Cheers.

ahmed-gelemli commented 1 month ago

Hi @kuasha420 I did create different branches for each issue. Each PR has its own changes so it, I hope, is easier to review now.