Skip to content

samuel-rl/react-native-gestureHandeler

Repository files navigation

Animated View 👋

Github: samuel3105

Demo

demo

Download

# If you don't have installed expo:
npm install -g expo-cli

# Clone the project :
git clone https://github.com/samuel3105/react-native-gestureHandeler.git
cd ./react-native-gestureHandeler

#install packages and start
npm install
npm start

Example

import React from 'react';
import { Gesture } from './src/index';

export default function App() {
	return <Gesture width={100} borderRadius={5}></Gesture>;
}

Docs

/**
 * The tint color of the view itself.
 *
 * @default green
 */
color?: string;

/**
 * Height of the view.
 *
 * @default 100
 */
height?: number;

/**
 * Width of the view.
 *
 * @default 100
 */
width?: number;

/**
 * borderRadius of the view.
 *
 * @default 50
 */
borderRadius?: number;

/**
 * X offset of the view.
 *
 * @default 0
 */
offsetX?: number;

/**
 * Y offset of the view.
 *
 * @default 0
 */
offsetY?: number;

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages