@nexcella/rn-animated-selector
TypeScript icon, indicating that this package has built-in type declarations

0.0.13 • Public • Published

Animated selector for React Native

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:

Prop Type Required Description
tabs String[] yes List of options
color String no Background color for active tab
onSelect (tab: string) => void no Callback for tab`s selecting

Licence

License is ISC

Package Sidebar

Install

npm i @nexcella/rn-animated-selector

Weekly Downloads

1

Version

0.0.13

License

ISC

Unpacked Size

17.2 kB

Total Files

11

Last publish

Collaborators

  • a-shabanov