This repository has been archived on 2019-05-14. You can view files and clone it, but cannot push or open issues or pull requests.
mastodon/storybook/stories/loading_indicator.story.js
2017-05-13 15:55:56 +02:00

13 lines
433 B
JavaScript

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>
));