
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
react-native-double-click
Advanced tools
A Component Wrapper for Double Click/Tap, made for React Native, works on both Android and iOS.
npm install --save react-native-double-clickimport React, { Component } from 'react';
import {
Text,
View,
Alert,
} from 'react-native';
import DoubleClick from 'react-native-double-click';
export default class doubleClicker extends Component {
constructor() {
super();
this.handleClick = this.handleClick.bind(this);
}
handleClick() {
Alert.alert('This is awesome \n Double tap succeed');
}
render() {
return (
<View style={{ flex: 1, marginTop: 50 }}>
<Text style={{ fontSize: 20 }}>
Welcome to React Native!
</Text>
<DoubleClick onClick={this.handleClick}>
<Text style={{ fontSize: 26 }}>
Please tap me twice!
</Text>
</DoubleClick>
</View>
);
}
}
| Property | Type | Default | Description |
|---|---|---|---|
| delay | number | 300 | (in milliseconds) How fast double click/tap be pressed (number below 200 might not worked) |
| radius | number | 20 | Radius for click/tap |
| onClick | function | () => Alert.alert('Double Tap Succeed') | Execute function after double click/tap be pressed |
MIT
FAQs
React Native Double Click/Tap
The npm package react-native-double-click receives a total of 29 weekly downloads. As such, react-native-double-click popularity was classified as not popular.
We found that react-native-double-click demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.