# 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
import React from 'react';
import { Gesture } from './src/index';
export default function App() {
return <Gesture width={100} borderRadius={5}></Gesture>;
}
/**
* 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;