# tv-carousel

> tv轮播图

Latest version **1.0.0** (published 2021-08-04) · MIT license · 0 weekly downloads

## Install

```sh
npm install tv-carousel
pnpm add tv-carousel
yarn add tv-carousel
bun add tv-carousel
```

## Health

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

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2021-08-04 |
| First published | 2021-08-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 87.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | flyliu |
| Maintainers | liuxiang719 |
| Keywords | react, native, carousel, slider, swiper, flatlist, scrollview, parallax, images, infinite, scroll, scrolling, items, edge, snap, card, cards, stack, deck, tinder, android, ios, snapping, component, rtl |

## Links

- npm: https://www.npmjs.com/package/tv-carousel
- Repository: git@github.com:MYliuxiang/tv-carousel
- npm.io page: https://npm.io/package/tv-carousel

## Dependencies (2)

- [prop-types](https://npm.io/package/prop-types.md) ^15.6.1
- [react-addons-shallow-compare](https://npm.io/package/react-addons-shallow-compare.md) 15.6.2

## Alternatives

- [adhdev](https://npm.io/package/adhdev.md) — 11.1K weekly downloads
- [react-slide-button](https://npm.io/package/react-slide-button.md) — 310 weekly downloads
- [better](https://npm.io/package/better.md) — 42 weekly downloads
- [react-native-swipe-image](https://npm.io/package/react-native-swipe-image.md) — 22 weekly downloads
- [nl.fokkezb.pulltorefresh](https://npm.io/package/nl.fokkezb.pulltorefresh.md) — 11 weekly downloads

## Recent versions

- 1.0.0 (latest) — 2021-08-04

## README

# tv-carousel
使用
****
``` 
$ yarn install tv-carousel
```
```javascript
import Carousel from 'tv-carousel';

export class MyCarousel extends Component {

    _renderItem = ({item, index}) => {
        return (
            <View style={styles.slide}>
                <Text style={styles.title}>{ item.title }</Text>
            </View>
        );
    }

    render () {
        return (
            <Carousel
              ref={(c) => { this._carousel = c; }}
              data={this.state.entries}
              renderItem={this._renderItem}
              sliderWidth={300}
              itemWidth={300}
            />
        );
    }
}
```

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