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

18 lines
438 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;
};
2022-11-18 00:45:19 +00:00
export function ResetSessionNotification({ i18n }: Props): JSX.Element {
return (
<SystemMessage contents={i18n('sessionEnded')} icon="session-refresh" />
);
}