signal-desktop/ts/components/conversation/ResetSessionNotification.tsx
2023-03-29 17:03:25 -07:00

17 lines
437 B
TypeScript

// Copyright 2018 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 function ResetSessionNotification({ i18n }: Props): JSX.Element {
return (
<SystemMessage contents={i18n('icu:sessionEnded')} icon="session-refresh" />
);
}