rn-country-code-picker-modal

1.0.5 • Public • Published
  • A react native country code picker view with a modal, in typescript.

  • It comes with a built-in TypeScript typings and is compatible with all popular JavaScript frameworks. You can use it directly or leverage well-maintained wrapper packages that allow for a more native integration with your frameworks of choice.

Example:

How to use:

import CountryCodePicker from 'rn-country-code-picker-modal';

    <CountryCodePicker
              onPickedCode={code => {
                setPhoneNumber(code);
              }}
            />

CountryCodePicker Props -

Name Type Default
pickerStyle ViewStyle
modalStyle ViewStyle;
textStyle TextStyle;
onPickedCode (code: string) => void;
filterBarColor string;

Package Sidebar

Install

npm i rn-country-code-picker-modal

Weekly Downloads

60

Version

1.0.5

License

ISC

Unpacked Size

1.41 MB

Total Files

21

Last publish

Collaborators

  • shelly_amabr