react-cookie
Advanced tools
Comparing version 3.1.0 to 3.1.1
{ | ||
"name": "react-cookie", | ||
"version": "3.1.0", | ||
"version": "3.1.1", | ||
"description": "Universal cookies for React", | ||
@@ -5,0 +5,0 @@ "main": "cjs/index.js", |
@@ -47,3 +47,3 @@ <h3 align="center"> | ||
## `useCookies()` | ||
## `useCookies([dependencies])` | ||
@@ -53,3 +53,3 @@ Access and modify cookies using React hooks. | ||
```jsx | ||
const [cookies, setCookie, removeCookie] = useCookies([dependencies]); | ||
const [cookies, setCookie, removeCookie] = useCookies(['cookie-name']); | ||
``` | ||
@@ -56,0 +56,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
81542