mirror of
https://github.com/Mastermindzh/react-cookie-consent.git
synced 2025-10-20 20:36:02 +02:00
minor bugfixes for PR https://github.com/Mastermindzh/react-cookie-consent/pull/68
- extracted code which handles setting/getting cookies. - added correct implementation of the legacy cookie fix according to the provided url - added cookieSecurity attribute with default value based on runtime environment - updated README - ran builds
This commit is contained in:
2
build/index.d.ts
vendored
2
build/index.d.ts
vendored
@@ -3,6 +3,8 @@ import Cookies from "js-cookie";
|
||||
|
||||
export interface CookieConsentProps {
|
||||
location?: "top" | "bottom" | "none";
|
||||
sameSite?: "strict" | "lax" | "none";
|
||||
cookieSecurity?: boolean;
|
||||
style?: object;
|
||||
buttonStyle?: object;
|
||||
declineButtonStyle?: object;
|
||||
|
||||
Reference in New Issue
Block a user