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

19 lines
500 B
TypeScript
Raw Normal View History

import * as React from 'react';
import { storiesOf } from '@storybook/react';
import { ResetSessionNotification } from './ResetSessionNotification';
import { setup as setupI18n } from '../../../js/modules/i18n';
import enMessages from '../../../_locales/en/messages.json';
2020-09-14 19:51:27 +00:00
const i18n = setupI18n('en', enMessages);
const story = storiesOf(
'Components/Conversation/ResetSessionNotification',
module
);
story.add('Notification', () => {
return <ResetSessionNotification i18n={i18n} />;
});