mirror of
https://github.com/Mastermindzh/react-cookie-consent.git
synced 2025-11-16 00:25:16 +01:00
no longer setting position when location is passed.
added property "setDeclineCookie" to indicate whether a cookie has to be set on decline. fixes #45 fixes #46
This commit is contained in:
1
build/index.d.ts
vendored
1
build/index.d.ts
vendored
@@ -17,6 +17,7 @@ export interface CookieConsentProps {
|
||||
cookieName?: string;
|
||||
cookieValue?: string | boolean | number;
|
||||
declineCookieValue?: string | boolean | number;
|
||||
setDeclineCookie?: PropTypes.bool;
|
||||
debug?: boolean;
|
||||
expires?: number;
|
||||
containerClasses?: string;
|
||||
|
||||
Reference in New Issue
Block a user