A spinning overlay component for React Native
$ npm install nanokit-spinner-overlay
# OR
$ yarn add nanokit-spinner-overlay
import React from 'react'
import {View, StyleSheet} from 'react-native'
import SpinnerOverlay from 'nanokit-spinner-overlay'
const ExampleOne = () => <View style={styles.container}>
<SpinnerOverlay visible={true}/>
</View>
const ExampleOne = () => <View style={styles.container}>
<SpinnerOverlay container containerStyle={{backgroundColor: 'red'}} color="pink" overlayColor="blue"/>
</View>
const styles = StyleSheet.create({
container: {flex: 1}
})
See the available props for more info
Contributions are welcome!
- Fork it.
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
Or open up a issue.
MIT