Cookie Consent Banner
feedbackSlim bottom banner for cookie consent with accept and customize options.
Preview
No preview available
Check the code examples below.
Installation
npm install @launchapp/design-systemImport
import { CookieConsentBanner } from "@launchapp/design-system";Examples
Slim banner
<CookieConsentBanner onAccept={() => console.log("accepted")} onCustomize={() => console.log("customize")}/>Props
| Prop | Type | Default | Description |
|---|---|---|---|
onAccept | () => void | — | Called when accepting all cookies. |
onCustomize | () => void | — | Called when user clicks to customize. |