0.0.2 • Published 6 years ago

react-native-number-stepper v0.0.2

Weekly downloads
28
License
Apache License
Repository
github
Last release
6 years ago
ReactNative: Number Stepper (Android/iOS)

If this project has helped you out, please support us with a star 🌟

A stepper with a sliding label in the middle. Pan the label or tap the buttons.

📖 Getting started

$ npm install react-native-number-stepper --save

💻 Usage

import { RNNumberStepper } from 'react-native-number-stepper';

💡 Props

PropTypeDefaultNote
sizestring1Specify the size of stepper
valuearray0Specify the default value fo stepper
minValuenumber0Specify the minimum value limit of stepper
maxValuenumber10Specify the maximum value limit of stepper
stepValuenumber1Specify the incremental value of stepper
autoRepeatstringtrueSpecify the auto repeat flag value
leftButtonTextstring-Specify the left button display text
rightButtonTextstring+Specify the right button display text
buttonsTextColorstring#FFFFFFFFSpecify the button text color
buttonsBackgroundColorstring#357FC0Specify the buttons background color
labelTextColorstring#FFFFFFSpecify the label text color
labelBackgroundColorstring#4098E0Specify the label background color
buttonsContainerWidthstring50Specify the buttons container width
cornorRadiusstring8Specify the cornor radius value
borderWidthstring0Specify the border width of stepper
borderColorstring#FFFFFFSpecify the border color of stepper
onChangefunc | Specify function for the onChange event listener

✨ Credits

🤔 How to contribute

Have an idea? Found a bug? Please raise to ISSUES. Contributions are welcome and are greatly appreciated! Every little bit helps, and credit will always be given.

💫 Where is this library used?

If you are using this library in one of your projects, add it in this list below. ✨

📜 License

This library is provided under the Apache License.

RNNumberStepper @ prscX

💖 Support my projects

I open-source almost everything I can, and I try to reply everyone needing help using these projects. Obviously, this takes time. You can integrate and use these projects in your applications for free! You can even change the source code and redistribute (even resell it).

However, if you get some profit from this or just want to encourage me to continue creating stuff, there are few ways you can do it:

  • Starring and sharing the projects you like 🚀
  • If you're feeling especially charitable, please follow prscX on GitHub.

    Thanks! ❤️ prscX.github.io </ Pranav >