marcocesarato / react-native-input-spinner

An extensible input number spinner component for react-native highly customizable. This component enhance a text input for entering numeric values, with increase and decrease buttons.
https://marcocesarato.github.io/react-native-input-spinner/
GNU General Public License v3.0
414 stars 34 forks source link

How to control the Value #71

Open Oaufi opened 2 years ago

Oaufi commented 2 years ago

How we can control the texinput value to do some math calaculation depending on the value not on clicking button.

marcocesarato commented 2 years ago

Hi, just using a state and changing it on value prop

<InputSpinner
    value={stateValue}
/>