since3-website/modules/shared/ui/components/cookie-prefrence-button.tsx
2026-09-25 18:53:25 +02:00

16 lines
No EOL
439 B
TypeScript

"use client";
import * as CookieConsent from "vanilla-cookieconsent";
export default function CookiePrefencesButton({ className = ""}: { className?: string}) {
return (
<button
type="button"
onClick={() => CookieConsent.showPreferences()}
className={`${className} bg-transparent border-0 p-0 cursor-pointer text-left `}
>
Cookie-Einstellungen
</button>
)
}