Styling adjustments to timeline notifications

This commit is contained in:
Evan Hahn 2021-09-07 14:55:03 -05:00 committed by GitHub
parent 4bed918cf8
commit 7f34bedd87
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
22 changed files with 437 additions and 360 deletions

View file

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