mirror of
https://github.com/mastodon/mastodon.git
synced 2024-08-20 21:08:15 -07:00
12 lines
398 B
JavaScript
12 lines
398 B
JavaScript
import React from 'react';
|
|
import { IntlProvider } from 'react-intl';
|
|
import { storiesOf } from '@storybook/react';
|
|
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>
|
|
));
|