0.0.13 • Published 5 years ago

@nexcella/rn-animated-selector v0.0.13

Weekly downloads
10
License
ISC
Repository
github
Last release
5 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

5 years ago

0.0.12

5 years ago

0.0.11

5 years ago

0.0.10

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago