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

No working in react 16

Open ercpereda opened this issue 7 years ago • 3 comments

This package does not work for react 16, for the following reasons:

  • PropTypes does not belongs to the react package anymore.
  • React.createClass does not exist in react 16.
  • Does not support mixins

ercpereda avatar Oct 19 '17 01:10 ercpereda

Seems like this repo has been unmaintained for a while. I publish a scoped package in npm https://www.npmjs.com/package/@ercpereda/react-native-accordion

Let me know if you have any issue.

ercpereda avatar Oct 19 '17 03:10 ercpereda

I switched to this library https://www.npmjs.com/package/react-native-collapsible

chris-feist avatar Apr 20 '18 19:04 chris-feist

@ercpereda please add a functionality in your package like when i clicked to seconds list then the first accordion will auto close . like one accordion is open once

ishaqashraf avatar May 13 '18 11:05 ishaqashraf