about summary refs log tree commit diff
path: root/storybook/stories/loading_indicator.story.js
diff options
context:
space:
mode:
Diffstat (limited to 'storybook/stories/loading_indicator.story.js')
-rw-r--r--storybook/stories/loading_indicator.story.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/storybook/stories/loading_indicator.story.js b/storybook/stories/loading_indicator.story.js
new file mode 100644
index 000000000..f3e67e89c
--- /dev/null
+++ b/storybook/stories/loading_indicator.story.js
@@ -0,0 +1,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>
+  ));