import * as React from 'react'; import { Animated, StyleProp, TouchableWithoutFeedback, StyleSheet, GestureResponderHandlers, } from 'react-native'; interface BlockProps { style?: StyleProp; dragStartAnimationStyle:StyleProp; onPress?: () => void; onLongPress: () => void; panHandlers:GestureResponderHandlers; } export class Block extends React.Component{ public render() { return ( {this.props.children} ); } } const styles = StyleSheet.create({ blockContainer:{ alignItems:'center', }, });