Skip to content

viktorferenczi/ReactNative-PanResponderExample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

ReactNative-PanResponder example

Swipe gesture handler for my projects(left,right,up and down). It is not perfect, needs some correction. Feel free to use/edit/use it.

Usage:

import React from 'react';
import { View } from 'react-native';

import SwipeGesture from '/locationOfTheFile'

function Test() {
  return (
    <SwipeGesture onSwipe={ (direction) => { console.log(direction) }}>
      <View>
          .....    
      </View>
    </SwipeGesture>
  );
}


export default Test;

About

Swipe gesture handler for my projects. Feel free to use.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published