fumadocs-ui
Version:
The Radix UI version of Fumadocs UI
24 lines (23 loc) • 811 B
TypeScript
import { base_d_exports } from "./base.js";
import * as react_jsx_runtime85 from "react/jsx-runtime";
import { HTMLAttributes } from "react";
import { LinkItemType } from "@fumadocs/ui/link-item";
//#region src/components/sidebar/link-item.d.ts
type InternalComponents = Pick<typeof base_d_exports, 'SidebarFolder' | 'SidebarFolderLink' | 'SidebarFolderContent' | 'SidebarFolderTrigger' | 'SidebarItem'>;
declare function createLinkItemRenderer({
SidebarFolder,
SidebarFolderContent,
SidebarFolderLink,
SidebarFolderTrigger,
SidebarItem
}: InternalComponents): ({
item,
...props
}: HTMLAttributes<HTMLElement> & {
item: Exclude<LinkItemType, {
type: "icon";
}>;
}) => react_jsx_runtime85.JSX.Element;
//#endregion
export { createLinkItemRenderer };
//# sourceMappingURL=link-item.d.ts.map