react-native-simple-stepper
v4.1.0
Published
A parity version of the iOS UIStepper.
Downloads
300
Maintainers
Readme
react-native-simple-stepper
A parity version of the iOS UIStepper.
Table of contents
Installation
| |
| ------------------------------------------------ |
| yarn add react-native-simple-stepper
|
| npm install react-native-simple-stepper --save
|
Usage
import SimpleStepper from 'react-native-simple-stepper';
function Example() {
return <SimpleStepper valueChanged={value => console.log(value)} />;
}
export default Example;
Text Position
| left | center (default) | right | | :-----------------------------------: | :-------------------------------------: | :------------------------------------: | | | | |
import SimpleStepper from 'react-native-simple-stepper';
function TextPositionExample() {
return <SimpleStepper showText={true} textPosition={'right'} />;
}
export default TextPositionExample;