react-native-loading-effect
1.0.5 • Public • Published react-native-loading-effect

Install
npm install react-native-loading-effect --save
Usage
var LoadingEffect = require('react-native-loading-effect');
var YourComponent = React.createClass({
mixins: [LoadingEffect.Mixin],
...
render() {
return (
<View>
...
<LoadingEffect
isVisible={this.state.isVisible}
/>
</View>
);
}
Showing the LoadingEffect
this.showLoadingEffect();
Dismissing the LoadingEffect
this.dismissLoadingEffect();
Props
-
isVisible
(Bool) - isRequired.
-
size
(String) - size of the indicator. Small has a height of 20, large has a height of 36.
-
color
(Number) - color of the indicator. Default gray.
-
overlayWidth
(Number) - overlay width.
-
overlayHeight
(Number) - overlay height.
-
overlayColor
(String) - overlay color.
-
text
(String) - text. Default Loading.
-
textColor
(String) - text color.
-
textFontSize
(Number) - text font size.
Versions
Version | Downloads (Last 7 Days) | Tag |
---|
1.0.5 | 4 | latest |
Version History
Version | Downloads (Last 7 Days) | Published |
---|
1.0.5 | 4 | |
1.0.4 | 0 | |
1.0.3 | 1 | |
1.0.2 | 0 | |
1.0.1 | 0 | |
Package Sidebar
Install
npm i react-native-loading-effect
Weekly Downloads