We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 14cb28d commit 3d4f4d5Copy full SHA for 3d4f4d5
.changeset/short-moles-taste.md
@@ -0,0 +1,12 @@
1
+---
2
+'spin-delay': major
3
4
+
5
+We've to removed the default export. Please update your code to use the named
6
+export instead. This is a breaking change, but it's a minor one. Chances are
7
+that you're already using the named export, and you don't have to do anything.
8
9
+```diff
10
+- import useSpinDelay from 'spin-delay';
11
++ import { useSpinDelay } from 'spin-delay';
12
+```
src/index.ts
@@ -52,5 +52,3 @@ export function useSpinDelay(
52
53
return state === 'DISPLAY' || state === 'EXPIRE';
54
}
55
-
56
-export default useSpinDelay;
0 commit comments