This repository was archived by the owner on Jul 9, 2024. It is now read-only.
File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
- # react-native-busy-indicator
1
+ # React-Native Busy Indicator
2
2
[ ![ npm version] ( https://badge.fury.io/js/react-native-busy-indicator.svg )] ( https://badge.fury.io/js/react-native-busy-indicator )
3
3
[ ![ Circle CI] ( https://circleci.com/gh/RealOrangeOne/react-native-busy-indicator.svg )] ( https://circleci.com/gh/RealOrangeOne/react-native-busy-indicator )
4
4
[ ![ NPM downloads] ( http://img.shields.io/npm/dm/react-native-busy-indicator.svg?style=flat-square )] ( https://www.npmjs.com/package/react-native-busy-indicator )
@@ -31,7 +31,8 @@ Toggling the component can be done from any file, provided the component has alr
31
31
` ` ` js
32
32
const loaderHandler = require (' react-native-busy-indicator/LoaderHandler' );
33
33
34
- loaderHandler .showLoader (" Loading" ); // Show indicator with message 'loading'
34
+ loaderHandler .showLoader (" Loading" ); // Show indicator with message 'Loading'
35
+ loaderHandler .showLoader (" Loading More" ); // Show indicator with message 'Loading More'
35
36
36
37
loaderHandler .hideLoader (); // Hide the loader
37
38
` ` `
@@ -48,12 +49,11 @@ loaderHandler.hideLoader(); // Hide the loader
48
49
|**` textColor` **|` string` | text color|
49
50
|**` textFontSize` **|` number` |text font size|
50
51
|**` textNumberOfLines` **|` number` | total number of lines does not exceed this number. Default: 1|
52
+ |**` Size` **|` small/ large` | Size of the spinner. Default: small|
51
53
52
54
53
55
## Demo
54
56
55
57

56
58
57
- ## License
58
-
59
- [MIT License](http://opensource.org/licenses/mit-license.html)
59
+ __Note__: The spinner moves much smoother than shown in recording!
You can’t perform that action at this time.
0 commit comments