Cookie consent banner
+Cookie consent banner
The banner is shown only if necessary.
diff --git a/packages/react/src/components/cookieConsent/CookieConsent.stories.tsx b/packages/react/src/components/cookieConsent/CookieConsent.stories.tsx index ae9e5a1ff4..8156deff53 100644 --- a/packages/react/src/components/cookieConsent/CookieConsent.stories.tsx +++ b/packages/react/src/components/cookieConsent/CookieConsent.stories.tsx @@ -60,7 +60,7 @@ const Actions = () => { }; const openBanner = async () => { // eslint-disable-next-line no-console - console.log('Spawning banner', await window.hds.cookieConsent.openBanner(['statistics', 'chat'])); + console.log('Spawning banner', await window.hds.cookieConsent.openBanner(['statistics', 'chat'], '#banner-opener')); }; return (
Banner is shown if required consents are not consented.
Banner is also shown here when needed.
The banner is shown only if necessary.
The banner is shown only if necessary.