diff options
author | Yamagishi Kazutoshi <ykzts@desire.sh> | 2017-05-13 22:55:56 +0900 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-05-13 15:55:56 +0200 |
commit | 1027556614febb096f2186d3c678116b415c0b9b (patch) | |
tree | e8a335e835df865e022f6f4640d6982df51a944d /storybook/stories/loading_indicator.story.js | |
parent | 3dcb5fa28f13f597d49b5b442f61d12bc2be6152 (diff) |
Fix broken storybook (#3030)
Diffstat (limited to 'storybook/stories/loading_indicator.story.js')
-rw-r--r-- | storybook/stories/loading_indicator.story.js | 12 |
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> + )); |