Socket
Socket
Sign inDemoInstall

react-native-swipe-gestures-plus

Package Overview
Dependencies
0
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.0 to 1.1.1

9

index.js
"use strict";
import React, { Component } from "react";
import { View, PanResponder } from "react-native";
import { View, PanResponder,Animated } from "react-native";

@@ -139,3 +139,8 @@ export const swipeDirections = {

render() {
return <View {...this.props} {...this._panResponder.panHandlers} />;
return (
<Animated.View {...this._panResponder.panHandlers} style={this.props.gestureStyle}>
<View>{this.props.children}</View>
</Animated.View>
);
}

@@ -142,0 +147,0 @@ }

{
"name": "react-native-swipe-gestures-plus",
"types": "index.d.ts",
"version": "1.1.0",
"version": "1.1.1",
"description": "4-directional swipe gestures with press and Long Press Events for react-native",

@@ -6,0 +6,0 @@ "main": "index.js",

@@ -96,2 +96,3 @@ # react-native-swipe-gestures-plus

config={config}
gestureStyle={{width:'100%',height:'100%',justifyContent: "center",alignItems: "center",flex:1,backgroundColor: backgroundColor}}
style={{

@@ -98,0 +99,0 @@ flex: 1,

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc