NoResultsScreen.d.ts 610 B

1234567891011121314
  1. /// <reference types="react" />
  2. import type { ScreenStateProps } from './ScreenState';
  3. import type { InternalDocSearchHit } from './types';
  4. export declare type NoResultsScreenTranslations = Partial<{
  5. noResultsText: string;
  6. suggestedQueryText: string;
  7. reportMissingResultsText: string;
  8. reportMissingResultsLinkText: string;
  9. }>;
  10. declare type NoResultsScreenProps = Omit<ScreenStateProps<InternalDocSearchHit>, 'translations'> & {
  11. translations?: NoResultsScreenTranslations;
  12. };
  13. export declare function NoResultsScreen({ translations, ...props }: NoResultsScreenProps): JSX.Element;
  14. export {};