# react-native-swipeable-up-down

> Swipeable up down

Latest version **0.0.3** (published 2019-05-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-native-swipeable-up-down
pnpm add react-native-swipeable-up-down
yarn add react-native-swipeable-up-down
bun add react-native-swipeable-up-down
```

## 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.0.3 |
| Published | 2019-05-14 |
| First published | 2019-05-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 1 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Duong Minh Chien |
| Maintainers | minhchienwikipedia |
| Keywords | react-native, react-component, react-native-component, react, swipe, swipeable, swipeable-up-down |

## Links

- npm: https://www.npmjs.com/package/react-native-swipeable-up-down
- Repository: https://github.com/react-native-vietnam/react-native-swipeable-up-down
- Homepage: https://github.com/react-native-vietnam/react-native-swipeable-up-down#readme
- Issues: https://github.com/react-native-vietnam/react-native-swipeable-up-down/issues
- npm.io page: https://npm.io/package/react-native-swipeable-up-down

## Dependencies (1)

- [react-native-interactable](https://npm.io/package/react-native-interactable.md) ^0.1.10

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 0.0.3 (latest) — 2019-05-14
- 1.0.2 — 2019-05-14
- 1.0.1 — 2019-05-14
- 1.0.0 — 2019-05-14

## README

# React Native Swipeable Up Down

## Installation

```
yarn add react-native-swipeable-up-down
```

**Note: Progress indicators has been broken out to a separate component; [react-native-interactable](https://github.com/wix/react-native-interactable). To use them, please follow installation instructions for that package.**

## Usage
```javascript
import SwipeableUpDown from 'react-native-swipeable-up-down';

<SwipeableUpDown
	isList
	childrenRef={this.refs.flatListRef}
	ref='swipeableBoxRef'
>
	<FlatList
		ref='flatListRef'
		data={[{key: 'a'}, {key: 'b'}]}
		renderItem={({item}) => <Text>{item.key}</Text>}
	/>
</SwipeableBox>

```

## Properties

| Prop | Description | Default |
|---|---|---|
|**`snapPoints`**|Related RN Interactable .|`true`|
|**`boundaries`**|Related RN Interactable.|`true`|
|**`initialPosition`**|Related RN Interactable.|`true`|
|**`isList`**|To handle scrollview in List, so if you're using List (FlatList, ScrollView,...) should set value is `true`.|`false`|
|**`childrenRef`**|If you're using list in SwipeableBox, you need pass your Reference of List.|*None*|
|**`onStateChange`**|It's call when box `show` or `hide`.|`true`|

## Methods

**`this.refs.swipeableBoxRef.show()`**

**`this.refs.swipeableBoxRef.hide()`**

**`this.refs.swipeableBoxRef.isVisble()`**

## License

This module is [MIT licensed](./LICENSE)

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