mirror of
https://github.com/glitch-soc/mastodon.git
synced 2024-11-28 02:50:14 -05:00
13 lines
433 B
JavaScript
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>
|
|
));
|