release $npm_package_version

This commit is contained in:
2020-12-08 18:02:10 +01:00
parent eb45e7a652
commit 1c6f335500
5 changed files with 22 additions and 2 deletions

8
src/index.d.ts vendored
View File

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