// Copyright 2021 Signal Messenger, LLC // SPDX-License-Identifier: AGPL-3.0-only import React from 'react'; import { Modal } from './Modal'; import { Button } from './Button'; import { ThemeType } from '../types/Util'; import type { LocalizerType } from '../types/Util'; export type PropsType = Readonly<{ i18n: LocalizerType; onClose: () => unknown; theme: ThemeType; }>; export function ProfileMovedModal({ i18n, onClose, theme, }: PropsType): JSX.Element { const imagePath = theme === ThemeType.dark ? 'images/profile-moved-dark.svg' : 'images/profile-moved.svg'; return (
{i18n('icu:ProfileMovedModal__title')}
{i18n('icu:ProfileMovedModal__description')}
); }