about summary refs log tree commit diff
path: root/storybook/stories/loading_indicator.story.js
blob: 84d722d698995f65cfbbfd0cb623a88e1f56d7fc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
import React from 'react';
import { IntlProvider } from 'react-intl';
import { storiesOf } from '@kadira/storybook';
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>
  ));