You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
glitchier-soc/storybook/stories/loading_indicator.story.js

14 lines
449 B

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