Answers for "react native gesture handler"

1

react native gesture handler

//first install using
expo install react-native-gesture-handler

//then import using API
import { TapGestureHandler, RotationGestureHandler } from 'react-native-gesture-handler';

class ComponentName extends Component {
  render() {
    return (
      <TapGestureHandler>
        <RotationGestureHandler>...</RotationGestureHandler>
      </TapGestureHandler>
    );
  }
}
Posted by: Guest on July-25-2020

Code answers related to "react native gesture handler"

Code answers related to "Javascript"

Browse Popular Code Answers by Language