testshallpass / react-native-simple-stepper

A parity version of the iOS UIStepper.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

react-native-simple-stepper

Platform npm version npm version License CI

A parity version of the iOS UIStepper.

screenshot

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
screenshot screenshot screenshot
import SimpleStepper from 'react-native-simple-stepper';

function TextPositionExample() {
  return <SimpleStepper showText={true} textPosition={'right'} />;
}

export default TextPositionExample;

About

A parity version of the iOS UIStepper.

License:MIT License


Languages

Language:TypeScript 74.8%Language:Kotlin 7.3%Language:Objective-C 6.5%Language:Ruby 5.7%Language:JavaScript 3.4%Language:Objective-C++ 2.3%