Skip to content

Commit

Permalink
renamed NavigationPopoverButtonProps to correct PopoverMenuButtonProps
Browse files Browse the repository at this point in the history
  • Loading branch information
coderwelsch committed Aug 5, 2024
1 parent 83aac2f commit 70f77ad
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/components/popover-menu/popover-menu-button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 70f77ad

Please sign in to comment.