signal-desktop/ts/components/InContactsIcon.stories.tsx

17 lines
491 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
2020-07-24 01:35:32 +00:00
import * as React from 'react';
import { storiesOf } from '@storybook/react';
import { setup as setupI18n } from '../../js/modules/i18n';
2020-09-12 00:46:52 +00:00
import enMessages from '../../_locales/en/messages.json';
2020-07-24 01:35:32 +00:00
import { InContactsIcon } from './InContactsIcon';
const i18n = setupI18n('en', enMessages);
storiesOf('Components/InContactsIcon', module).add('Default', () => {
return <InContactsIcon i18n={i18n} />;
});