Git Product home page Git Product logo

react-native-simple-stepper's People

Contributors

dependabot[bot] avatar dev-two avatar iroachie avatar jossydeleon avatar testshallpass avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

react-native-simple-stepper's Issues

is it possible to set value for simple stepper?

I only see the initialValue property, but what if I want update the stepper value ?

Here is the scenario:
I have a text input to work with the simple stepper. and I want to input a number in text input (e.g. 19). Is there a way to set the 19 as the value of stepper ? even the stepper already initialized.

Support autorepeat prop

This is an issue to implement autorepeat prop.

autorepeat
A Boolean value that determines whether to repeatedly change the stepper’s value as the user presses and holds a stepper button.

Is it bug

Continuous plus or minus the time will be wrong, such as an initial value of 0.05, I added twice after 2.05, when I press the time, his value becomes 1.049999999998.

Add Wraps boolean

As per Apple documentation (Wraps)

If YES, incrementing beyond maximumValue sets value to minimumValue; likewise, decrementing below minimumValue sets value to maximumValue. If NO, the stepper does not increment beyond maximumValue nor does it decrement below minimumValue but rather holds at those values. The default value for this property is NO.

Typescript type declaration warning.

Hey bro, thanks for making this component - I am using it in an app that I'm building.
I encountered this annoying warning when using in typescript environment:

rnstepper_ts_warning

I temporarily fixed it by adding an index.d.ts file containing

declare module 'react-native-simple-stepper';

I'm not sure what the process of updating a package to be 'typescript friendly' is, but I don't think it's a lot more than this for this repo (I might be wrong tho). Might be worth doing... I would be happy contribute it if you don't have the time.

rn-stepper-ts-fix

Is value expected with initial value 0.05?

Continuous plus or minus the time will be wrong, such as an initial value of 0.05, I added twice after 2.05, when I press the time, his value becomes 1.049999999998.

Annoying 'Invalid argument supplid to oneOfType' warning.

Hey again Brian,

Using the SimpleStepper component in a typescript environment and trying to change some of it's styling like in the picture below:
rn-ss-comp
I encounter a warning which I suspect has something to do with TypeScript:
Warning: Invalid argument supplid to oneOfType. Expected an array of check functions, but received string at index 0.
rn-ss-warning
The line that it references is line 44 here:
rn-ss-warning-line

I have no idea how one would tackle this... Would appreciate your help here.

Compatibility with React-Native-Web?

Can we get this to work with React-Native-Web? In its current form, it looks like it needs to be converted to ES5, and tintColor is not a valid css property.

RTL support

Is it possible to avoid mirroring the component when app is RLT? (when app is RTL + button is at left side that is meaningless)

Support isContinuous prop

This is an issue to implement isContinuous prop.

isContinuous
A Boolean value that determines whether to send value changes during user interaction or after user interaction ends.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.