From 556bf4683fd29e7dfe62cc221f030cadbcf54b0f Mon Sep 17 00:00:00 2001 From: Andrei Arkhipov Date: Sat, 25 Jan 2020 16:33:46 +0300 Subject: [PATCH] #10: Typo in description was fixed --- README.md | 4 ++-- package.json | 4 ++-- src/components/Loader.js | 1 + 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index da95932..60fff1e 100644 --- a/README.md +++ b/README.md @@ -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)

@@ -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 ```| diff --git a/package.json b/package.json index e912941..2444799 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/components/Loader.js b/src/components/Loader.js index 526873b..6bcea1c 100644 --- a/src/components/Loader.js +++ b/src/components/Loader.js @@ -69,6 +69,7 @@ Loader.defaultProps = { color: '#000', loading: false, background: 'rgba(255,255,255,.5)', + promiseTracker: false, }; export default Loader;