react-native-counter icon indicating copy to clipboard operation
react-native-counter copied to clipboard

Counter package is not working

Open radjivF opened this issue 8 years ago • 2 comments

screen shot 2018-01-24 at 2 20 59 pm I got this error, any idea?

My react-native configuration: "react": "16.2.0", "react-native": "0.52.0",

Cheers

radjivF avatar Jan 24 '18 03:01 radjivF

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!

azanli avatar Mar 05 '18 07:03 azanli

@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!

davefreiman avatar Jun 19 '18 16:06 davefreiman