UNPKG

fumadocs-ui

Version:

The Radix UI version of Fumadocs UI

20 lines (19 loc) 684 B
import { SidebarTab } from "./index.js"; import * as react_jsx_runtime45 from "react/jsx-runtime"; import { ComponentProps, ReactNode } from "react"; //#region src/components/sidebar/tabs/dropdown.d.ts interface SidebarTabWithProps extends SidebarTab { props?: ComponentProps<'a'>; } declare function SidebarTabsDropdown({ options, placeholder, ...props }: { placeholder?: ReactNode; options: SidebarTabWithProps[]; } & ComponentProps<'button'>): react_jsx_runtime45.JSX.Element; declare function isTabActive(tab: SidebarTab, pathname: string): boolean; //#endregion export { SidebarTabWithProps, SidebarTabsDropdown, isTabActive }; //# sourceMappingURL=dropdown.d.ts.map