react-native-mask-loader
This component provides a loading screen for React Native apps that is meant to reproduce Twitter's app loading animation.
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>