mirror of
https://github.com/Mastermindzh/react-cookie-consent.git
synced 2025-02-23 18:54:04 +01:00
Fix name of imported variable
This commit is contained in:
parent
5a807f884b
commit
cfbd647c38
@ -32,7 +32,7 @@ You can import the cookie bar like this:
|
|||||||
import CookieConsent from "react-cookie-consent";
|
import CookieConsent from "react-cookie-consent";
|
||||||
```
|
```
|
||||||
|
|
||||||
If you want to set/remove cookies yourself you can optionally import Cookie (straight from js-cookie) like this:
|
If you want to set/remove cookies yourself you can optionally import `Cookies` (straight from js-cookie) like this:
|
||||||
|
|
||||||
``` js
|
``` js
|
||||||
import CookieConsent, { Cookies } from "react-cookie-consent";
|
import CookieConsent, { Cookies } from "react-cookie-consent";
|
||||||
|
Loading…
Reference in New Issue
Block a user