fumadocs-ui
Version:
The framework for building a documentation website in Next.js
20 lines • 598 B
TypeScript
import { type ComponentProps, type ReactNode } from 'react';
export interface Option {
/**
* Redirect URL of the folder, usually the index page
*/
url: string;
icon?: ReactNode;
title: ReactNode;
description?: ReactNode;
/**
* Detect from a list of urls
*/
urls?: Set<string>;
props?: ComponentProps<'a'>;
}
export declare function RootToggle({ options, placeholder, ...props }: {
placeholder?: ReactNode;
options: Option[];
} & ComponentProps<'button'>): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=root-toggle.d.ts.map