signal-desktop/ts/components/conversation/ResetSessionNotification.tsx

16 lines
424 B
TypeScript
Raw Normal View History

// Copyright 2018-2021 Signal Messenger, LLC
2020-10-30 20:34:04 +00:00
// SPDX-License-Identifier: AGPL-3.0-only
import React from 'react';
import type { LocalizerType } from '../../types/Util';
import { SystemMessage } from './SystemMessage';
export type Props = {
2019-01-14 21:49:58 +00:00
i18n: LocalizerType;
};
2020-09-14 19:51:27 +00:00
export const ResetSessionNotification = ({ i18n }: Props): JSX.Element => (
<SystemMessage contents={i18n('sessionEnded')} icon="session-refresh" />
2020-09-14 19:51:27 +00:00
);