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

18 lines
437 B
TypeScript
Raw Normal View History

2023-01-03 19:55:46 +00:00
// Copyright 2018 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 (
2023-03-30 00:03:25 +00:00
<SystemMessage contents={i18n('icu:sessionEnded')} icon="session-refresh" />
2022-11-18 00:45:19 +00:00
);
}