react-usespinner 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/README.md +5 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -20,8 +20,12 @@ fetch("https://flash-the-slow-api.herokuapp.com/delay/3000")
20
20
 
21
21
  ## Usage
22
22
 
23
+ ```
24
+ npm i react-usespinner
25
+ ```
26
+
23
27
  ```javascript
24
- import useSpinner from './hooks/usespinner';
28
+ import useSpinner from 'react-usespinner';
25
29
 
26
30
  const { start, end, clear, busy, SpinnerContainer } = useSpinner();
27
31
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-usespinner",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "track actions in progress to know if a spinner should be display. Actions expire within 10 seconds if not expired in code",
5
5
  "private": false,
6
6
  "license": "MIT",