# react-native-double-click-instagram

> react native double click component with instagram heart animation option

Latest version **1.0.4** (published 2020-06-24) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-native-double-click-instagram
pnpm add react-native-double-click-instagram
yarn add react-native-double-click-instagram
bun add react-native-double-click-instagram
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.0.4 |
| Published | 2020-06-24 |
| First published | 2020-06-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 5.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | CD-ROM |
| Maintainers | romovadia529 |
| Keywords | react, native, instagram, double, heart, tap, click |

## Links

- npm: https://www.npmjs.com/package/react-native-double-click-instagram
- Repository: https://github.com/rom529/react-native-double-click-instagram
- Homepage: https://github.com/rom529/react-native-double-click-instagram#readme
- Issues: https://github.com/rom529/react-native-double-click-instagram/issues
- npm.io page: https://npm.io/package/react-native-double-click-instagram

## Dependencies (1)

- [@expo/vector-icons](https://npm.io/package/@expo/vector-icons.md) ^10.2.0

## 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.4 (latest) — 2020-06-24
- 1.0.3 — 2020-06-24
- 1.0.2 — 2020-06-22
- 1.0.1 — 2020-06-22
- 1.0.0 — 2020-06-22

## README

# react-native-double-click-instagram

A react native double click function with instagram heart animation option

## Installation

- `npm install --save react-native-double-click-instagram`
- `yarn add react-native-double-click-instagram`

## Usage

```js
import DoubleClick from "react-native-double-click-instagram";

export default class App extends React.Component {
  render() {
    return (
      <View>
        <DoubleClick
          icon
          delay={300}
          timeout={1000}
          doubleClick={() => console.log("double-click")}
        >
          <View>
            <Image
              source={{
                uri,
              }}
              style={styles.image}
            />
          </View>
        </DoubleClick>
      </View>
    );
  }
}
```

## Props

| Property  | Type     | Default | Description                     |
| --------- | -------- | ------- | ------------------------------- |
| icon      | boolean  | false   | Instagram heart icon animation  |
| doubleTap | function | null    | Function for doucle click event |
| delay     | number   | 300     | Time for delay between taps     |
| timeout   | number   | 1000    | Time for show heart animation   |
| color     | string   | red     | Color of the icon               |
| size      | number   | 120     | Size of the icon                |

## License

MIT

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