Skip to content

Commit

Permalink
Commit to get preview pkg
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenwf committed Oct 11, 2024
1 parent 47c92d6 commit 5a08610
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/components/src/SidebarTabs.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { createHideableComponent } from "@react-aria/collections";
import { ReactNode, useLayoutEffect, useMemo, useRef, useState } from "react";
import { Button, Menu, MenuItem, MenuTrigger, Popover, Tab, TabList, TabPanel, Tabs } from "react-aria-components";
import { createHideableComponent } from "@react-aria/collections";
import { cn } from "./utils";

interface SidebarTabsProps {
Expand All @@ -14,6 +14,7 @@ interface SidebarTabsProps {
selectedKey?: string;
onSelectionChange?: (key: string) => void;
}

export function SidebarTabs({ menu, menuId, selectedKey, onSelectionChange }: SidebarTabsProps) {
const ref = useRef<HTMLDivElement>(null);
const [hidden, setHidden] = useState(0);
Expand Down

0 comments on commit 5a08610

Please sign in to comment.