Fix name of imported variable (#41)

Fix name of imported variable
This commit is contained in:
2019-05-06 15:07:19 +02:00
committed by GitHub

View File

@@ -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";