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