signal-desktop/ts/components/conversation/ResetSessionNotification.tsx
2021-10-26 14:15:33 -05:00

15 lines
424 B
TypeScript

// Copyright 2018-2021 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
import React from 'react';
import type { LocalizerType } from '../../types/Util';
import { SystemMessage } from './SystemMessage';
export type Props = {
i18n: LocalizerType;
};
export const ResetSessionNotification = ({ i18n }: Props): JSX.Element => (
<SystemMessage contents={i18n('sessionEnded')} icon="session-refresh" />
);