SHARE
TWEET

Untitled

a guest Oct 21st, 2019 70 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import React, { Component } from 'react'
  2. import { Text, View,StyleSheet } from 'react-native'
  3. import  {PanGestureHandler} from 'react-native-gesture-handler'
  4.  
  5. export default class RnGestureHandler extends Component {
  6.     render() {
  7.         return (
  8.             <View style={styles.container}>
  9.                <View style={[styles.circle]} />
  10.             </View>
  11.         )
  12.     }
  13. }
  14.  
  15. const styles = StyleSheet.create({
  16.     container: {
  17.       flex: 1,
  18.       justifyContent: "space-around",
  19.       flexDirection: "column",
  20.       backgroundColor: "#fff"
  21.     },
  22.  
  23.     circle: {
  24.         width: 150,
  25.         height: 150,
  26.         backgroundColor: "#c00000",
  27.         borderRadius: 100
  28.       },
  29.  
  30.    })
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top