mirror of
https://github.com/Mastermindzh/react-cookie-consent.git
synced 2025-01-20 18:41:44 +01:00
commit
98b401dc72
@ -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