mirror of
https://github.com/Mastermindzh/react-cookie-consent.git
synced 2025-08-23 01:24:54 +02:00
release $npm_package_version
This commit is contained in:
8
build/index.d.ts
vendored
8
build/index.d.ts
vendored
@@ -43,4 +43,12 @@ export interface CookieConsentProps {
|
||||
|
||||
export default class CookieConsent extends React.Component<CookieConsentProps, {}> {}
|
||||
|
||||
/**
|
||||
* Returns the value of the consent cookie
|
||||
* Retrieves the regular value first and if not found the legacy one according
|
||||
* to: https://web.dev/samesite-cookie-recipes/#handling-incompatible-clients
|
||||
* @param {*} name optional name of the cookie
|
||||
*/
|
||||
export function getCookieConsentValue(name?: string);
|
||||
|
||||
export { Cookies };
|
||||
|
Reference in New Issue
Block a user