nanokit-spinner-overlay
v1.0.1
Published
A spinning overlay component for React Native
Downloads
3
Readme
nanokit-spinner-overlay
A spinning overlay component for React Native
Table of Contents
Install
$ npm install nanokit-spinner-overlay
# OR
$ yarn add nanokit-spinner-overlay
Usage
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
Contributing
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.
License
MIT