0.0.13 • Published 6 years ago
@nexcella/rn-animated-selector v0.0.13
Animated selector for React Native
A <Selector/> component for react native projects.
Work like RadioButton.
Support left & right swipe on tabs for selecting option

Add it to your project
npm
npm install @nexcella/rn-animated-selectoryarn
yarn add @nexcella/rn-animated-selectorUsage
<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