signal-desktop/ts/components/conversation/ResetSessionNotification.stories.tsx

19 lines
527 B
TypeScript
Raw Normal View History

2020-10-30 20:34:04 +00:00
// Copyright 2020 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
import * as React from 'react';
import { ResetSessionNotification } from './ResetSessionNotification';
2021-09-18 00:30:08 +00:00
import { setupI18n } from '../../util/setupI18n';
import enMessages from '../../../_locales/en/messages.json';
2020-09-14 19:51:27 +00:00
const i18n = setupI18n('en', enMessages);
2022-06-07 00:48:02 +00:00
export default {
title: 'Components/Conversation/ResetSessionNotification',
};
2022-06-07 00:48:02 +00:00
export const Notification = (): JSX.Element => {
return <ResetSessionNotification i18n={i18n} />;
2022-06-07 00:48:02 +00:00
};