Fix name of imported variable (#41)

Fix name of imported variable
This commit is contained in:
Rick van Lieshout 2019-05-06 15:07:19 +02:00 committed by GitHub
commit 98b401dc72
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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