1
0
mirror of https://github.com/whippyshou/mastodon synced 2024-12-25 03:58:24 +09:00
whippy-edition/storybook/stories/loading_indicator.story.js

13 lines
399 B
JavaScript
Raw Normal View History

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