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.
mastodon/storybook/stories/loading_indicator.story.js

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>
));