1//first install using
2expo install react-native-gesture-handler
3
4//then import using API
5import { TapGestureHandler, RotationGestureHandler } from 'react-native-gesture-handler';
6
7class ComponentName extends Component {
8 render() {
9 return (
10 <TapGestureHandler>
11 <RotationGestureHandler>...</RotationGestureHandler>
12 </TapGestureHandler>
13 );
14 }
15}
16