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