mirror of
https://github.com/streamich/react-use.git
synced 2026-01-18 14:06:52 +00:00
Merge pull request #894 from ayush987goyal/pr/cookie-ts-fix
fix: update the types dependency for js-cookie
This commit is contained in:
commit
a978e53591
@ -94,6 +94,7 @@
|
||||
- [**Side-effects**](./docs/Side-effects.md)
|
||||
- [`useAsync`](./docs/useAsync.md), [`useAsyncFn`](./docs/useAsyncFn.md), and [`useAsyncRetry`](./docs/useAsyncRetry.md) — resolves an `async` function.
|
||||
- [`useBeforeUnload`](./docs/useBeforeUnload.md) — shows browser alert when user try to reload or close the page.
|
||||
- [`useCookie`](./docs/useCookie.md) — provides way to read, update and delete a cookie. [![][img-demo]](https://streamich.github.io/react-use/?path=/story/side-effects-usecookie--demo)
|
||||
- [`useCopyToClipboard`](./docs/useCopyToClipboard.md) — copies text to clipboard.
|
||||
- [`useDebounce`](./docs/useDebounce.md) — debounces a function. [![][img-demo]](https://streamich.github.io/react-use/?path=/story/side-effects-usedebounce--demo)
|
||||
- [`useFavicon`](./docs/useFavicon.md) — sets favicon of the page.
|
||||
@ -149,7 +150,6 @@
|
||||
- [**Miscellaneous**]()
|
||||
- [`useEnsuredForwardedRef`](./docs/useEnsuredForwardedRef.md) and [`ensuredForwardRef`](./docs/useEnsuredForwardedRef.md) — use a React.forwardedRef safely. [![][img-demo]](https://streamich.github.io/react-use/?path=/story/state-useensuredforwardedref--demo)
|
||||
|
||||
|
||||
<br />
|
||||
<br />
|
||||
<br />
|
||||
|
||||
@ -46,6 +46,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/streamich/react-use#readme",
|
||||
"dependencies": {
|
||||
"@types/js-cookie": "2.2.4",
|
||||
"@xobotyi/scrollbar-width": "1.5.0",
|
||||
"copy-to-clipboard": "^3.2.0",
|
||||
"fast-shallow-equal": "^1.0.0",
|
||||
@ -80,7 +81,6 @@
|
||||
"@storybook/react": "5.3.3",
|
||||
"@testing-library/react-hooks": "3.2.1",
|
||||
"@types/jest": "24.0.25",
|
||||
"@types/js-cookie": "2.2.4",
|
||||
"@types/react": "16.9.11",
|
||||
"babel-core": "6.26.3",
|
||||
"babel-loader": "8.0.6",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user