react-native-counter
react-native-counter copied to clipboard
Counter package is not working
I got this error, any idea?
My react-native configuration: "react": "16.2.0", "react-native": "0.52.0",
Cheers
The package has not been updated on NPM. Therefore, the recent proptypes fix is not included in the default library installed by npm install. So to include the changes, replace these imports:
import React, { Component, PropTypes } from 'react';
import React, { Component } from 'react';
import PropTypes from 'prop-types';
By the way, the library works great. Thank you for sharing this!
@Kerumen Love the package. The PR that fixed this has been merged but no release has been pushed to npm. Can you kindly do this so we can include a released version? Thanks!