Overview
The useConsentManager hook is a React hook that provides access to the consent manager's state.
On this page
[Error: Could not find section "overview" in ../../../javascript/shared/store/overview.mdx]
Usage
import { useConsentManager } from '@c15t/react';
const { has } = useConsentManager();
const hasFunctionality = has('functionality');
[Error: Could not find section "returns" in ../../../javascript/shared/store/overview.mdx]