blob: 3e12f61ca86aa7456a622ed6eff0a6258c66b78d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
import React from 'react';
import { IntlProvider } from 'react-intl';
import { storiesOf } from '@storybook/react';
import { action } from '@storybook/addon-actions';
import en from 'mastodon/locales/en.json';
import LoadingIndicator from 'mastodon/components/loading_indicator';
storiesOf('LoadingIndicator', module)
.add('default state', () => (
<IntlProvider locale='en' messages={en}>
<LoadingIndicator />
</IntlProvider>
));
|