UNPKG

fumadocs-ui

Version:

The Radix UI version of Fumadocs UI

44 lines (43 loc) 1.04 kB
import { search_d_exports } from "../../contexts/search.js"; import "./search.js"; import * as react_jsx_runtime69 from "react/jsx-runtime"; import { ReactNode } from "react"; //#region src/components/dialog/search-default.d.ts interface DefaultSearchDialogProps extends search_d_exports.SharedProps { links?: search_d_exports.SearchLink[]; /** * @defaultValue 'fetch' */ type?: 'fetch' | 'static'; defaultTag?: string; tags?: search_d_exports.TagItem[]; /** * Search API URL */ api?: string; /** * The debounced delay for performing a search. */ delayMs?: number; footer?: ReactNode; /** * Allow to clear tag filters * * @defaultValue false */ allowClear?: boolean; } declare function DefaultSearchDialog({ defaultTag, tags, api, delayMs, type, allowClear, links, footer, ...props }: DefaultSearchDialogProps): react_jsx_runtime69.JSX.Element; //#endregion export { DefaultSearchDialogProps, DefaultSearchDialog as default }; //# sourceMappingURL=search-default.d.ts.map