From 70f77ad5bc9f3b56bc2c912767a03f39aa05b054 Mon Sep 17 00:00:00 2001 From: coderwelsch Date: Mon, 5 Aug 2024 14:31:50 +0200 Subject: [PATCH] renamed NavigationPopoverButtonProps to correct PopoverMenuButtonProps --- src/components/popover-menu/popover-menu-button.tsx | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/components/popover-menu/popover-menu-button.tsx b/src/components/popover-menu/popover-menu-button.tsx index 54eed1c5..7b09d4dc 100644 --- a/src/components/popover-menu/popover-menu-button.tsx +++ b/src/components/popover-menu/popover-menu-button.tsx @@ -3,16 +3,12 @@ import React from "react"; import { usePopoverMenuContext } from "./popover-menu-context"; import { Button, ButtonProps } from "../button/button"; -export interface NavigationPopoverButtonProps extends ButtonProps { +export interface PopoverMenuButtonProps extends ButtonProps { children: React.ReactNode; onClick?: () => void; } -export const PopoverMenuButton = ({ - onClick, - children, - ...restProps -}: NavigationPopoverButtonProps) => { +export const PopoverMenuButton = ({ onClick, children, ...restProps }: PopoverMenuButtonProps) => { const { popoverButton: { setReferenceElement }, } = usePopoverMenuContext();