Files
oneclickvirt.github.io/node_modules/@docsearch/react/dist/esm/NoResultsScreen.d.ts
spiritlhl 6f5966067d Update
2023-06-20 00:59:07 +00:00

15 lines
610 B
TypeScript

/// <reference types="react" />
import type { ScreenStateProps } from './ScreenState';
import type { InternalDocSearchHit } from './types';
export declare type NoResultsScreenTranslations = Partial<{
noResultsText: string;
suggestedQueryText: string;
reportMissingResultsText: string;
reportMissingResultsLinkText: string;
}>;
declare type NoResultsScreenProps = Omit<ScreenStateProps<InternalDocSearchHit>, 'translations'> & {
translations?: NoResultsScreenTranslations;
};
export declare function NoResultsScreen({ translations, ...props }: NoResultsScreenProps): JSX.Element;
export {};