0.0.13 • Published 6 years ago

@nexcella/rn-animated-selector v0.0.13

Weekly downloads
10
License
ISC
Repository
github
Last release
6 years ago

Animated selector for React Native

npm.io

A <Selector/> component for react native projects. Work like RadioButton.

Support left & right swipe on tabs for selecting option

Example Example-Orange

Add it to your project

npm

npm install @nexcella/rn-animated-selector

yarn

yarn add @nexcella/rn-animated-selector

Usage

<Selector tabs={['Option 1', 'Option 2', 'Option 3']}/>

Props:

PropTypeRequiredDescription
tabsString[]yesList of options
colorStringnoBackground color for active tab
onSelect(tab: string) => voidnoCallback for tab`s selecting

Licence

License is ISC

0.0.13

6 years ago

0.0.12

6 years ago

0.0.11

6 years ago

0.0.10

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago