// React Native

TouchableOpacity

onPress

{()

=>

console

log

Press

);

}}

onLongPress

{()

=>

console

log

Long Press

);

}}

Text

Tap

or

Long

Press

/Text

/TouchableOpacity

For more complex gestures and combining several touches into
a single gesture, PanResponder is used.

// React Native

class

App

extends

Component

componentWillMount

()

this