mirror of
https://github.com/oneclickvirt/oneclickvirt.github.io.git
synced 2026-05-26 12:30:22 +08:00
15 lines
610 B
TypeScript
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 {};
|