react-native-activity-indicator-ios

ActivityIndicatorIOS wrapper that waits a second.

Usage no npm install needed!

<script type="module">
  import reactNativeActivityIndicatorIos from 'https://cdn.skypack.dev/react-native-activity-indicator-ios';
</script>

README

react-native-activity-indicator-ios

What problem does this solve?

The native ActivityIndicatorIOS shows the spinner immediately (assuming you don't set animating to false), which other loading indicators don't do because research shows feedback is not necessary for about a second.

This wrapper will wait the second before showing the spinner.

Usage

Same api as ActivityIndicatorIOS.

Acknowledgements

After using @kylemathews's spinkit library for loading icons, everything else felt unpolished. I wanted to use the native iOS activity indicator, but with all the polish I had grown accustomed to. Many thanks for the inspiration.