@helpwave/hightide
Version:
helpwave's component and theming library
22 lines (19 loc) • 743 B
text/typescript
import * as react_jsx_runtime from 'react/jsx-runtime';
import { PropsWithChildren } from 'react';
import { PropsForTranslation } from '../../hooks/useTranslation.mjs';
import { ModalProps } from './Modal.mjs';
import '../../hooks/useLanguage.mjs';
type LanguageModalTranslation = {
message: string;
done: string;
};
type LanguageModalProps = ModalProps & {
onDone: () => void;
};
/**
* A Modal for selecting the Language
*
* The State of open needs to be managed by the parent
*/
declare const LanguageModal: ({ overwriteTranslation, onDone, onBackgroundClick, ...modalProps }: PropsForTranslation<LanguageModalTranslation, PropsWithChildren<LanguageModalProps>>) => react_jsx_runtime.JSX.Element;
export { LanguageModal };