1
0
mirror of https://github.com/whippyshou/mastodon synced 2024-12-19 17:18:32 +09:00
whippy-edition/storybook/stories/loading_indicator.story.js

13 lines
433 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';
import getMessagesForLocale from 'mastodon/locales';
import LoadingIndicator from 'mastodon/components/loading_indicator';
storiesOf('LoadingIndicator', module)
.add('default state', () => (
<IntlProvider locale='en' messages={getMessagesForLocale('en')}>
<LoadingIndicator />
</IntlProvider>
));