diff --git a/src/components/navigation/navigation-disclosure-panel.tsx b/src/components/navigation/navigation-disclosure-panel.tsx index e59fa2fc..c07c5284 100644 --- a/src/components/navigation/navigation-disclosure-panel.tsx +++ b/src/components/navigation/navigation-disclosure-panel.tsx @@ -2,8 +2,7 @@ import React from "react"; import { Disclosure } from "@headlessui/react"; import { classNames } from "../../util/class-names"; -export interface NavigationDisclosurePanelItemProps - extends React.ComponentPropsWithoutRef<"button"> { +export interface NavigationDisclosurePanelItemProps extends React.ComponentPropsWithoutRef<"div"> { isActive?: boolean; isIndented?: boolean; } @@ -15,8 +14,7 @@ const NavigationDisclosurePanelItem = ({ ...props }: NavigationDisclosurePanelItemProps) => { return ( - + ); };