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