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

18 lines
437 B
TypeScript
Raw Normal View History

2023-01-03 11:55:46 -08:00
// Copyright 2018 Signal Messenger, LLC
2020-10-30 15:34:04 -05: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 13:49:58 -08:00
i18n: LocalizerType;
};
2022-11-17 16:45:19 -08:00
export function ResetSessionNotification({ i18n }: Props): JSX.Element {
return (
2023-03-29 17:03:25 -07:00
<SystemMessage contents={i18n('icu:sessionEnded')} icon="session-refresh" />
2022-11-17 16:45:19 -08:00
);
}