Just published my first React Native package to NPM

Just published my first React Native package to NPM

For a few weeks now I'm working on a small React Native app. After trying to find a package that will work for me and failed, I decided to create a custom component.

If you have an iOS device, you most certainly know the Segmented Control view (UISegmentedControl):

Publishing this package to NPM is my first time experience and I was very excited when I saw that the package has been successfully published and ready for download! 🤩

React Native Segmented Controller

This is my implementation of this iOS view that should work on both Android and iOS.

Installation

yarn add react-native-ui-segmented-controller

Then install these two dependencies:

yarn add react-native-gesture-handler react-native-reanimated

⚠️ You need to configure the react-native-gesture-handler and react-native-reanimated native libs.

Usage

For more information check out the GitHub Repo 🔗

Contribution

I will be really happy if you decide to contribute! 🙃


I'm already too tired but wanted to share this little thing with you! 😴