Bootstrap our app

First, we need to create a new React Native project. For that we’ll use the following command:

react-native init

Then, we need to grab the Medium clap image. You can download the image from the link provided in the image below:

Next, we need to create a folder structure as shown in the screenshot below:

As we see in the above image, the clap.png image file is in “img” directory, with the components directory containing the JS files.

We need to clear up the App.js file as shown below:

Now we have a container for implementing a clap button and animation, as shown in the emulator screenshot below: