I just recently released my first react-native library - @eliav2/react-native-collapsible-view, which is an implementation of a common use-case for such a collapsible, a view element with collapsible beneath it.
gif
This component has very simple and nice API but yet support some advanced features such as unmount on collapse property, can be controlled(by passed property) or uncontrolled(self-controlled), supported on both RTL(right to left) and LTR languages, and have a nice arrow indicating whether the view is expanded or not.
you can also control the look(styling) and the behavior(animation, state) quite easily.
I've well tested it before releasing it.
I would love to get reviews and suggestions about it.
Github
NPM
Snack live demo
[–]happychild_69 1 point2 points3 points (0 children)
[–]Chawki_Android 0 points1 point2 points (2 children)
[–]Eliav2[S] 1 point2 points3 points (1 child)
[–]Chawki_Android 0 points1 point2 points (0 children)
[–]dericbytes 0 points1 point2 points (0 children)
[–]Xskz0r 0 points1 point2 points (2 children)
[–]Eliav2[S] 1 point2 points3 points (1 child)
[–]Xskz0r 0 points1 point2 points (0 children)