diff --git a/src/components/navigation/navigation-popover-overlay.tsx b/src/components/navigation/navigation-popover-overlay.tsx
new file mode 100644
index 00000000..cc88c094
--- /dev/null
+++ b/src/components/navigation/navigation-popover-overlay.tsx
@@ -0,0 +1,6 @@
+import { Popover } from "@headlessui/react";
+import * as React from "react";
+
+export const NavigationPopoverOverlay = () => (
+
+);
diff --git a/src/components/navigation/navigation-popover.tsx b/src/components/navigation/navigation-popover.tsx
index 398f8b27..cebf76a7 100644
--- a/src/components/navigation/navigation-popover.tsx
+++ b/src/components/navigation/navigation-popover.tsx
@@ -3,18 +3,18 @@ import React, { useState } from "react";
import { usePopper } from "react-popper";
import { NavigationPopoverButton } from "./navigation-popover-button";
import { NavigationPopoverContextProvider } from "./navigation-popover-context";
+import { NavigationPopoverOverlay } from "./navigation-popover-overlay";
import { NavigationPopoverPanel } from "./navigation-popover-panel";
export interface NavigationPopoverProps {
children: React.ReactNode;
- showOverlay?: boolean;
}
-const NavigationPopover = ({ children, showOverlay }: NavigationPopoverProps) => {
+const NavigationPopover = ({ children }: NavigationPopoverProps) => {
const [referenceElement, setReferenceElement] = useState();
const [popperElement, setPopperElement] = useState();
const { styles, attributes } = usePopper(referenceElement, popperElement, {
- placement: "right-end",
+ placement: "bottom-start",
});
const context = {
@@ -30,17 +30,13 @@ const NavigationPopover = ({ children, showOverlay }: NavigationPopoverProps) =>
return (
-
- {showOverlay && (
-
- )}
- {children}
-
+ {children}
);
};
NavigationPopover.Button = NavigationPopoverButton;
NavigationPopover.Panel = NavigationPopoverPanel;
+NavigationPopover.Overlay = NavigationPopoverOverlay;
export { NavigationPopover };
diff --git a/src/components/navigation/navigation.stories.tsx b/src/components/navigation/navigation.stories.tsx
index 0b8857f7..bd386131 100644
--- a/src/components/navigation/navigation.stories.tsx
+++ b/src/components/navigation/navigation.stories.tsx
@@ -64,6 +64,7 @@ export const Default: Story = {
Support
+
Documentation