about summary refs log tree commit diff
path: root/storybook/stories/loading_indicator.story.js
blob: 6ee822758a505c2369ea7bdb18734e67f1287bce (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 '@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>
  ));