# react-native-horizontal-tab

> a react native tab

Latest version **0.9.3** (published 2016-07-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-native-horizontal-tab
pnpm add react-native-horizontal-tab
yarn add react-native-horizontal-tab
bun add react-native-horizontal-tab
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.9.3 |
| Published | 2016-07-11 |
| First published | 2016-07-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Jack Pu |
| Maintainers | jack_pu |
| Keywords | react-native, tab |

## Links

- npm: https://www.npmjs.com/package/react-native-horizontal-tab
- Repository: https://github.com/JackPu/react-native-tab
- Homepage: https://github.com/JackPu/react-native-tab#readme
- Issues: https://github.com/JackPu/react-native-tab/issues
- npm.io page: https://npm.io/package/react-native-horizontal-tab

## Alternatives

- [@lexical/table](https://npm.io/package/@lexical/table.md) — 3.0M weekly downloads
- [mantine-datatable](https://npm.io/package/mantine-datatable.md) — 98.2K weekly downloads
- [react-native-collapsible-tab-view](https://npm.io/package/react-native-collapsible-tab-view.md) — 70.6K weekly downloads
- [@handsontable/vue3](https://npm.io/package/@handsontable/vue3.md) — 16.1K weekly downloads
- [vuewordcloud](https://npm.io/package/vuewordcloud.md) — 7.2K weekly downloads

## Recent versions

- 0.9.3 (latest) — 2016-07-11
- 0.9.1 — 2016-07-10

## README

# react-native-horizontal-tab

`react-native-horizontal-tab`is built to provide a simple tab ui and event.

<img src="http://img1.vued.vanthink.cn/vued1ebd6bbd9eda783395faa96518884250.gif" />


[Demo](https://github.com/JackPu/react-native-horizontal-tab/blob/master/example/index.ios.js)


### start

``` bash
npm install react-native-horizontal-tab --save-dev
```
how to use it?

``` 
var Tab = require('react-native-horizontal-tab');


//in JSX
<Tab idx={this.state.idx} tabClick={(idx) => this._handlePress(idx)} tabstr="tab1,tab2"></Tab>
```

### Options

+ `@tabstr` a string. the text shown on tab
+ `@idx` the index of tabs to show which is highlighted
+ `@tabClick` press event


### MIT LICENSE

---
_Source: https://npm.io/package/react-native-horizontal-tab · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
