Package Exports
- react-native-simple-stepper
- react-native-simple-stepper/SimpleStepper.tsx
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-native-simple-stepper) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
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;