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.

13 lines
449 B

  1. import React from 'react';
  2. import { IntlProvider } from 'react-intl';
  3. import { storiesOf } from '@storybook/react';
  4. import { action } from '@storybook/addon-actions';
  5. import en from 'mastodon/locales/en.json';
  6. import LoadingIndicator from 'mastodon/components/loading_indicator';
  7. storiesOf('LoadingIndicator', module)
  8. .add('default state', () => (
  9. <IntlProvider locale='en' messages={en}>
  10. <LoadingIndicator />
  11. </IntlProvider>
  12. ));