This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
2017-05-13 06:55:56 -07:00
|
|
|
import React from 'react';
|
|
|
|
import { IntlProvider } from 'react-intl';
|
2017-06-04 07:26:07 -07:00
|
|
|
import { storiesOf } from '@storybook/react';
|
|
|
|
import { action } from '@storybook/addon-actions';
|
2017-05-24 20:23:14 -07:00
|
|
|
import en from 'mastodon/locales/en.json';
|
2017-05-13 06:55:56 -07:00
|
|
|
import LoadingIndicator from 'mastodon/components/loading_indicator';
|
|
|
|
|
|
|
|
storiesOf('LoadingIndicator', module)
|
|
|
|
.add('default state', () => (
|
2017-05-24 20:23:14 -07:00
|
|
|
<IntlProvider locale='en' messages={en}>
|
2017-05-13 06:55:56 -07:00
|
|
|
<LoadingIndicator />
|
|
|
|
</IntlProvider>
|
|
|
|
));
|