react-native-stylish-loading
v1.0.1
Published
### For React native apps, this plugin provides a straightforward loading modal. A loading modal is a modal with an activity indication that is used to block user access while a procedure is being performed.
Downloads
1
Maintainers
Readme
React Native Stylish Loading
For React native apps, this plugin provides a straightforward loading modal. A loading modal is a modal with an activity indication that is used to block user access while a procedure is being performed.
Installation
$ npm install react-native-stylish-loading —save
Usage
Import that line for using
$ import ActivityLoader from 'react-native-stylish-loading'
Then in your render method
<ActivityLoader isLoading={true} loadingColor={'#000'} />
Props
| Attributes | type | Description | | ------------ | ------- | ------------------------------ | | isLoading | Boolean | Toggles the visibilty of modal | | loadingColor | String | Color of Activity indicator |