UNPKG

fumadocs-ui

Version:

The Radix UI version of Fumadocs UI

46 lines (45 loc) 1.18 kB
import { search_d_exports } from "../../contexts/search.js"; import "./search.js"; import * as react_jsx_runtime86 from "react/jsx-runtime"; import { ReactNode } from "react"; import { OramaCloudOptions } from "fumadocs-core/search/client"; //#region src/components/dialog/search-orama.d.ts interface OramaSearchDialogProps extends search_d_exports.SharedProps { links?: search_d_exports.SearchLink[]; client: OramaCloudOptions['client']; searchOptions?: OramaCloudOptions['params']; index?: OramaCloudOptions['index']; footer?: ReactNode; defaultTag?: string; tags?: search_d_exports.TagItem[]; /** * Add the "Powered by Orama" label * * @defaultValue true */ showOrama?: boolean; /** * Allow to clear tag filters * * @defaultValue false */ allowClear?: boolean; } /** * Orama Cloud integration */ declare function OramaSearchDialog({ client, searchOptions, tags, defaultTag, showOrama, allowClear, index, footer, links, ...props }: OramaSearchDialogProps): react_jsx_runtime86.JSX.Element; //#endregion export { OramaSearchDialogProps, OramaSearchDialog as default }; //# sourceMappingURL=search-orama.d.ts.map