xcarpentier / react-native-country-picker-modal

🇦🇶 Country picker provides a modal allowing a user to select a country from a list. It display a flag next to each country name.
https://reactnative.gallery/xcarpentier/country-picker
MIT License
1.08k stars 802 forks source link

Error: undefined Unable to resolve module './src/types' from 'src\screens\ManageProfile\index.js' #350

Closed garry-bit closed 4 years ago

garry-bit commented 4 years ago

Issue Description

added these lines from demo code on github front page

import CountryPicker from 'react-native-country-picker-modal'
import { CountryCode, Country } from './src/types'

and this call within the return() of my react-native component

<CountryPicker>
</CountryPicker>

Steps to Reproduce / Code Snippets

performed a Ctrl-s to save component code within visual studio code.

Expected Results

got this. image

Additional Information

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.