Skip to content

Commit b607bc7

Browse files
author
Andrei Arkhipov
authored
Merge pull request #11 from awibox/develop
#10: Typo in description was fixed
2 parents a23614b + 556bf46 commit b607bc7

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
![react-promise-loader](https://repository-images.githubusercontent.com/236146663/26a78580-3f83-11ea-9773-25da38f10104)
1+
![react-promise-loader](https://repository-images.githubusercontent.com/236146663/28c41100-3f90-11ea-9922-a1ed44b60cbe)
22

33
<p align="center">
44
<a href="https://www.npmjs.com/package/react-promise-loader">
@@ -63,7 +63,7 @@ export default App;
6363
|--------------------|--------|-----------|-------|
6464
|**background**|string|Sets the color for the background in any format that supports css|``` rgba(255,255,255,.5) ```|
6565
|**color**|string|Sets the color of the spinner|``` #000 ```|
66-
|**promiseTracker**|boolean|You need to set ```usePromiseTracker``` function from the ```react-promise-tracker```||
66+
|**promiseTracker**|boolean|You need to set ```usePromiseTracker``` function from the ```react-promise-tracker```|``` false ```|
6767
|**loading**|boolean|If you need to run the loader without tracking promises you should set ```true```|``` false ```|
6868

6969
<a name="contributing"></a>

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "react-promise-loader",
3-
"version": "1.0.0",
4-
"description": "This is an NPM package with a component for React that will help you display the loader at use react-promise-tracker",
3+
"version": "1.0.1",
4+
"description": "This is NPM package with a component for React that will help you display the loader at use react-promise-tracker",
55
"main": "./dist/index.js",
66
"scripts": {
77
"build": "webpack --mode production",

src/components/Loader.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ Loader.defaultProps = {
6969
color: '#000',
7070
loading: false,
7171
background: 'rgba(255,255,255,.5)',
72+
promiseTracker: false,
7273
};
7374

7475
export default Loader;

0 commit comments

Comments
 (0)