React Native – ActivityIndicator
In this chapter we will show you how to use the activity indicator in React Native.
Step 1 – App
App component will be used to import and show our ActivityIndicator.
Step 2 – ActivityIndicatorExample
Animating property is a Boolean which is used for showing the activity indicator. The latter closes six seconds after the component is mounted. This is done using the closeActivityIndicator() function.