chore: transfer repo
This commit is contained in:
17
components/cookies/index.tsx
Normal file
17
components/cookies/index.tsx
Normal file
@@ -0,0 +1,17 @@
|
||||
'use client';
|
||||
|
||||
import { CookieBanner } from './CookieBanner';
|
||||
import { CookieProvider } from './CookieContext';
|
||||
import { CookieSettingsModal } from './CookieSettingsModal';
|
||||
|
||||
export function CookieConsent({ children }: { children: React.ReactNode }) {
|
||||
return (
|
||||
<CookieProvider>
|
||||
{children}
|
||||
<CookieBanner />
|
||||
<CookieSettingsModal />
|
||||
</CookieProvider>
|
||||
);
|
||||
}
|
||||
|
||||
export { useCookieConsent } from './CookieContext';
|
||||
Reference in New Issue
Block a user