gearheads
/
mastodon
Archived
2
0
Fork 0
This repository has been archived on 2024-06-09. You can view files and clone it, but cannot push or open issues/pull-requests.
mastodon/storybook/stories/loading_indicator.story.js

13 lines
398 B
JavaScript
Raw Normal View History

2017-05-13 15:55:56 +02:00
import React from 'react';
import { IntlProvider } from 'react-intl';
2017-06-04 16:26:07 +02:00
import { storiesOf } from '@storybook/react';
2017-05-25 05:23:14 +02:00
import en from 'mastodon/locales/en.json';
2017-05-13 15:55:56 +02:00
import LoadingIndicator from 'mastodon/components/loading_indicator';
storiesOf('LoadingIndicator', module)
.add('default state', () => (
2017-05-25 05:23:14 +02:00
<IntlProvider locale='en' messages={en}>
2017-05-13 15:55:56 +02:00
<LoadingIndicator />
</IntlProvider>
));