From 833d244536b1900206db82efdef2cd855e8a40f8 Mon Sep 17 00:00:00 2001 From: rikhall1515 Date: Sun, 5 May 2024 22:33:22 +0200 Subject: [PATCH] feat: add footer button to open menu --- components/footer/btnCookie.tsx | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 components/footer/btnCookie.tsx diff --git a/components/footer/btnCookie.tsx b/components/footer/btnCookie.tsx new file mode 100644 index 0000000..3529fb1 --- /dev/null +++ b/components/footer/btnCookie.tsx @@ -0,0 +1,23 @@ +"use client"; +import { memo } from "react"; + +import { Button } from "@/components/ui/button"; +import { useCookieContext } from "@/context/cookie"; + +function ButtonCookie() { + const { toggleChangeConsentMenu } = useCookieContext(); + return ( + <> + + + ); +} + +export default memo(ButtonCookie);