/ Loading

React Native App Loader that shows an expanding image as a mask

React Native App Loader that shows an expanding image as a mask

react-native-mask-loader

This component provides a loading screen for React Native apps that is meant to reproduce Twitter's app loading animation.

loader

Installation

yarn add react-native-mask-loader

# or npm install react-native-mask-loader

Usage

import Loader from 'react-native-mask-loader';

<Loader
  isLoaded={this.state.appHasLoaded}
  imageSource={require('./assets/twitter.png')}
  backgroundStyle={styles.loadingBackgroundStyle}
>
  <AppContent />
</Loader>

GitHub