Files
Desktop/ts/components/conversation/ResetSessionNotification.dom.tsx
2026-03-30 12:42:37 -07:00

18 lines
458 B
TypeScript

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