Files
ipal-kit/dist/modules/consent/CookieButton.d.ts
T
2026-08-03 12:24:28 +02:00

14 lines
592 B
TypeScript

/**
* Floating "cookie settings" button — lets visitors reopen the consent panel
* after deciding (GDPR: withdrawing consent must be as easy as giving it).
* Hidden while the banner is showing.
*
* Colours follow the same CSS custom properties as CookieBanner
* (--ipal-surface, --ipal-border, --ipal-hover, --ipal-text), so a client's
* palette applies to both without touching either component. Pass className to
* replace the styling outright.
*/
export declare function CookieButton({ className }?: {
className?: string;
}): import("react/jsx-runtime").JSX.Element | null;