signal-desktop/ts/components/conversation/ResetSessionNotification.tsx
2021-08-26 13:51:55 -07:00

14 lines
357 B
TypeScript

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