react-native-accordion
react-native-accordion copied to clipboard
No working in react 16
This package does not work for react 16, for the following reasons:
-
PropTypes
does not belongs to thereact
package anymore. -
React.createClass
does not exist in react 16. - Does not support mixins
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.
I switched to this library https://www.npmjs.com/package/react-native-collapsible
@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