'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';
