about summary refs log tree commit diff
path: root/storybook/stories/loading_indicator.story.js
blob: f3e67e89cc00695456e32a6520bde2bf6ef9f712 (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 getMessagesForLocale from 'mastodon/locales';
import LoadingIndicator from 'mastodon/components/loading_indicator';

storiesOf('LoadingIndicator', module)
  .add('default state', () => (
    <IntlProvider locale='en' messages={getMessagesForLocale('en')}>
      <LoadingIndicator />
    </IntlProvider>
  ));