1515<br >
1616
1717<div align =" center " >
18- <a href =" https://www.npmjs.com/package/react-native -country-select " >
19- <img src="https://img.shields.io/npm/v/react-native -country-select.svg?style=flat-square">
18+ <a href =" https://www.npmjs.com/package/rn -country-select " >
19+ <img src="https://img.shields.io/npm/v/rn -country-select.svg?style=flat-square">
2020 </a >
21- <a href =" https://www.npmjs.com/package/react-native -country-select " >
22- <img src="https://img.shields.io/npm/dt/react-native -country-select.svg?style=flat-square&color=success">
21+ <a href =" https://www.npmjs.com/package/rn -country-select " >
22+ <img src="https://img.shields.io/npm/dt/rn -country-select.svg?style=flat-square&color=success">
2323 </a >
2424 <a href =" https://github.com/AstrOOnauta/react-native-country-select " >
2525 <img src="https://img.shields.io/github/stars/AstrOOnauta/react-native-country-select?style=flat-square&color=success"/>
5959
6060## Try it out
6161
62- - [ Demo] ( https://snack.expo.dev/@astroonauta/react-native -country-select )
62+ - [ Demo] ( https://snack.expo.dev/rn -country-select )
6363
6464<br >
6565
6666## Installation
6767
68- To use this library, make sure you have ** react-native -country-select** installed along with its required dependency ** react-native-safe-area-context** :
68+ To use this library, make sure you have ** rn -country-select** installed along with its required dependency ** react-native-safe-area-context** :
6969
7070``` bash
71- npm install react-native -country-select react-native-safe-area-context
71+ npm install rn -country-select react-native-safe-area-context
7272```
7373
7474Since ** react-native-safe-area-context** includes native code, you’ll need to install the iOS pods on macOS to complete the linking:
@@ -92,7 +92,7 @@ module.exports = {
9292 android: {},
9393 },
9494 assets: [
95- ' ./node_modules/react-native -country-select/lib/assets/fonts' ,
95+ ' ./node_modules/rn -country-select/lib/assets/fonts' ,
9696 ],
9797};
9898```
@@ -114,7 +114,7 @@ npx react-native-asset
114114 ...
115115
116116 useFonts({
117- ' TwemojiMozilla' : require(' ./node_modules/react-native -country-select/lib/assets/fonts/TwemojiMozilla.woff2' ),
117+ ' TwemojiMozilla' : require(' ./node_modules/rn -country-select/lib/assets/fonts/TwemojiMozilla.woff2' ),
118118 });
119119
120120 ...
@@ -131,7 +131,7 @@ npx react-native-asset
131131` ` ` jsx
132132import React, { Component } from ' react' ;
133133import { Text, TouchableOpacity, View } from ' react-native' ;
134- import CountrySelect from ' react-native -country-select' ;
134+ import CountrySelect from ' rn -country-select' ;
135135
136136export default class App extends Component {
137137 countryRef = null;
@@ -180,7 +180,7 @@ export default class App extends Component {
180180import React, { useState } from ' react' ;
181181import { Text, TouchableOpacity, View } from ' react-native' ;
182182
183- import CountrySelect from ' react-native -country-select' ;
183+ import CountrySelect from ' rn -country-select' ;
184184
185185export default function App() {
186186 const [showPicker, setShowPicker] = useState(false);
@@ -222,7 +222,7 @@ export default function App() {
222222import React, { useState } from ' react' ;
223223import { Text, TouchableOpacity, View } from ' react-native' ;
224224
225- import CountrySelect, { ICountry } from ' react-native -country-select' ;
225+ import CountrySelect, { ICountry } from ' rn -country-select' ;
226226
227227export default function App() {
228228 const [showPicker, setShowPicker] = useState< boolean>( false) ;
@@ -265,7 +265,7 @@ export default function App() {
265265import React, { useState } from ' react' ;
266266import { Text, TouchableOpacity, View } from ' react-native' ;
267267
268- import CountrySelect, { ICountry } from ' react-native -country-select' ;
268+ import CountrySelect, { ICountry } from ' rn -country-select' ;
269269
270270export default function App() {
271271 const [showPicker, setShowPicker] = useState< boolean>( false) ;
@@ -465,7 +465,7 @@ Ensure your app is inclusive and usable by everyone by leveraging built-in React
465465
466466# # Contributing
467467
468- Thank you for considering contributing to ** react-native -country-select** !
468+ Thank you for considering contributing to ** rn -country-select** !
469469
470470- Fork or clone this repository
471471
0 commit comments