mirror of
https://github.com/oneclickvirt/oneclickvirt.github.io.git
synced 2026-05-26 04:21:15 +08:00
18 lines
718 B
TypeScript
18 lines
718 B
TypeScript
/// <reference types="react" />
|
|
import type { ScreenStateProps } from './ScreenState';
|
|
import type { InternalDocSearchHit } from './types';
|
|
export declare type StartScreenTranslations = Partial<{
|
|
recentSearchesTitle: string;
|
|
noRecentSearchesText: string;
|
|
saveRecentSearchButtonTitle: string;
|
|
removeRecentSearchButtonTitle: string;
|
|
favoriteSearchesTitle: string;
|
|
removeFavoriteSearchButtonTitle: string;
|
|
}>;
|
|
declare type StartScreenProps = Omit<ScreenStateProps<InternalDocSearchHit>, 'translations'> & {
|
|
hasCollections: boolean;
|
|
translations?: StartScreenTranslations;
|
|
};
|
|
export declare function StartScreen({ translations, ...props }: StartScreenProps): JSX.Element | null;
|
|
export {};
|