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