# rn-double-click

> A Component for Double Click based on TouchableOpacity Wrapper. Build for React Native App and works on both Android and iOS.

Latest version **1.0.3** (published 2018-06-12) · MIT license · 0 weekly downloads

## Install

```sh
npm install rn-double-click
pnpm add rn-double-click
yarn add rn-double-click
bun add rn-double-click
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2018-06-12 |
| First published | 2018-06-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 143.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 8 |
| Author | “kerim |
| Maintainers | karimation |
| Keywords | double-click, react-native, touchableopacity, react, native, rn-double-click, double-click, click, double-tap |

## Links

- npm: https://www.npmjs.com/package/rn-double-click
- Repository: https://github.com/karimation/rn-double-click
- Homepage: https://github.com/karimation/rn-double-click#readme
- Issues: https://github.com/karimation/rn-double-click/issues
- npm.io page: https://npm.io/package/rn-double-click

## Dependencies (1)

- [prop-types](https://npm.io/package/prop-types.md) ^15.6.1

## 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

- 1.0.3 (latest) — 2018-06-12
- 1.0.2 — 2018-06-12
- 1.0.1 — 2018-06-12
- 1.0.0 — 2018-06-12

## README

# rn-double-click

A Component for Double Click based on <a href="https://facebook.github.io/react-native/docs/touchableopacity.html">TouchableOpacity</a>  Wrapper.

Build for React Native App and works on both Android and iOS.

<img src="screenshots/test.gif"  />

# Installation

```bash

npm install --save rn-double-click

or 

yarn install rn-double-click

```

## Usage
```js

import React from 'react';
import { StyleSheet, Text, Alert } from 'react-native'
import DoubleClick from 'rn-double-click'

export default class App extends React.Component {

  dbclick() {
    Alert.alert('Double Click Succeed');
  }

  render() {
    return (
      <DoubleClick style={styles.container} onClick={this.dbclick}>
        <Text>ClickMe</Text>
      </DoubleClick>
    );
  }
}

const styles = StyleSheet.create({
  container: {
    flex: 1,
    backgroundColor: '#fff',
    alignItems: 'center',
    justifyContent: 'center',
  },
});


```

# Author

kerim selmi <a href="http://www.karimation.com">karimation</a>

# License

This project is licensed under the  <a href="LICENSE">MIT License</a>

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