Question · React Native course · Module 10: Animations

Installing Haptics

How do you install expo-haptics?

Answer options

  • npm install vibration
  • npx expo install expo-haptics
  • expo add haptics
  • yarn add react-native-haptics

You can check the correct answer by solving this task in the CodeWorlds game.