mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
13 lines
398 B
JavaScript
13 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>
|
|
));
|