Skip to content

Commit

Permalink
#10: Typo in description was fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrei Arkhipov committed Jan 25, 2020
1 parent a6762c4 commit 556bf46
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
![react-promise-loader](https://repository-images.githubusercontent.com/236146663/26a78580-3f83-11ea-9773-25da38f10104)
![react-promise-loader](https://repository-images.githubusercontent.com/236146663/28c41100-3f90-11ea-9922-a1ed44b60cbe)

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

<a name="contributing"></a>
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "react-promise-loader",
"version": "1.0.0",
"description": "This is an NPM package with a component for React that will help you display the loader at use react-promise-tracker",
"version": "1.0.1",
"description": "This is NPM package with a component for React that will help you display the loader at use react-promise-tracker",
"main": "./dist/index.js",
"scripts": {
"build": "webpack --mode production",
Expand Down
1 change: 1 addition & 0 deletions src/components/Loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ Loader.defaultProps = {
color: '#000',
loading: false,
background: 'rgba(255,255,255,.5)',
promiseTracker: false,
};

export default Loader;

0 comments on commit 556bf46

Please sign in to comment.