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

Missing class properties transform #123

Closed timscott closed 5 years ago

timscott commented 6 years ago

I'm getting this error after upgrading to: "react": "16.3.0-alpha.1", "react-native": "0.54.4",

error: bundling failed: SyntaxError in /myapp/node_modules/react-native-country-picker-modal/src/CountryPicker.js: /myapp/node_modules/react-native-country-picker-modal/src/CountryPicker.js: Missing class properties transform.
  46 | 
  47 | export default class CountryPicker extends Component {
> 48 |   static propTypes = {
     |   ^
  49 |     cca2: PropTypes.string.isRequired,
  50 |     translation: PropTypes.string,
  51 |     onChange: PropTypes.func.isRequired,
stale[bot] commented 5 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.