feat(cookies): add functional category to consent settings modal
This commit is contained in:
@@ -4,7 +4,7 @@ import React, { useState, useEffect } from 'react'
|
|||||||
import { Cookie, Check, X } from 'lucide-react'
|
import { Cookie, Check, X } from 'lucide-react'
|
||||||
import { useConsentContext } from '@intecion/ipal-kit/client'
|
import { useConsentContext } from '@intecion/ipal-kit/client'
|
||||||
|
|
||||||
const CONSENT_CATEGORIES = ['necessary', 'analytics', 'marketing'] as const
|
const CONSENT_CATEGORIES = ['necessary', 'functional', 'analytics', 'marketing'] as const
|
||||||
type ConsentCat = (typeof CONSENT_CATEGORIES)[number]
|
type ConsentCat = (typeof CONSENT_CATEGORIES)[number]
|
||||||
|
|
||||||
export function CustomCookieBanner() {
|
export function CustomCookieBanner() {
|
||||||
|
|||||||
Reference in New Issue
Block a user