UNPKG

@use-cookie-consent/core

Version:

React hook for managing GDPR cookie consent state.

4 lines (3 loc) 245 B
import { ConsentState, SetCookieProps } from './types'; export declare const allCookiesSetToValue: (value: boolean) => Required<ConsentState>; export declare const allPropsApproved: (props: SetCookieProps, consent?: ConsentState) => boolean;