From 36841be090c2c6f4b129966a6a43e4963590a382 Mon Sep 17 00:00:00 2001 From: Manuel Date: Thu, 11 Jan 2024 13:40:03 +0100 Subject: [PATCH] feat(components): adjust menu button to be div --- src/components/menu/menu-button/menu-button.tsx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/components/menu/menu-button/menu-button.tsx b/src/components/menu/menu-button/menu-button.tsx index a8bad7dd..9c73a1b7 100644 --- a/src/components/menu/menu-button/menu-button.tsx +++ b/src/components/menu/menu-button/menu-button.tsx @@ -1,5 +1,5 @@ -import React from "react"; import { Menu as HeadlessMenu } from "@headlessui/react"; +import React from "react"; export interface MenuButtonProps { children: React.ReactNode; @@ -7,5 +7,9 @@ export interface MenuButtonProps { } export const MenuButton = ({ children, className }: MenuButtonProps) => { - return {children}; + return ( + + {children} + + ); };