react-native-simple-stepper
A parity version of the iOS UIStepper.
|
yarn add react-native-simple-stepper |
npm install react-native-simple-stepper --save |
import SimpleStepper from 'react-native-simple-stepper';
function Example() {
return <SimpleStepper valueChanged={value => console.log(value)} />;
}
export default Example;
left |
center (default) |
right |
|
|
|
import SimpleStepper from 'react-native-simple-stepper';
function TextPositionExample() {
return <SimpleStepper showText={true} textPosition={'right'} />;
}
export default TextPositionExample;