diff options
author | kibigo! <marrus-sh@users.noreply.github.com> | 2017-08-01 13:07:43 -0700 |
---|---|---|
committer | kibigo! <marrus-sh@users.noreply.github.com> | 2017-08-01 13:20:29 -0700 |
commit | 8150689b48716bb016d492d28cef08600a4b315e (patch) | |
tree | a05a2539e894c79ef17698dce0da5a6af0c25bf6 /storybook/stories/onboarding_modal.story.js | |
parent | b61e3daf983d87c6d2de7e54d420c2e8f5a531e6 (diff) | |
parent | 7ef848256871454a790a9b7cc725053c67ba3da4 (diff) |
Merge upstream (#111)
Diffstat (limited to 'storybook/stories/onboarding_modal.story.js')
-rw-r--r-- | storybook/stories/onboarding_modal.story.js | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/storybook/stories/onboarding_modal.story.js b/storybook/stories/onboarding_modal.story.js deleted file mode 100644 index 91727bdb2..000000000 --- a/storybook/stories/onboarding_modal.story.js +++ /dev/null @@ -1,24 +0,0 @@ -import React from 'react'; -import { Provider } from 'react-redux'; -import { IntlProvider } from 'react-intl'; -import { storiesOf } from '@storybook/react'; -import { action } from '@storybook/addon-actions'; -import en from 'mastodon/locales/en.json'; -import configureStore from 'mastodon/store/configureStore'; -import { hydrateStore } from 'mastodon/actions/store'; -import OnboadingModal from 'mastodon/features/ui/components/onboarding_modal'; -import initialState from '../initial_state'; - -const store = configureStore(); -store.dispatch(hydrateStore(initialState)); - -storiesOf('OnboadingModal', module) - .add('default state', () => ( - <IntlProvider locale='en' messages={en}> - <Provider store={store}> - <div style={{ position: 'absolute' }}> - <OnboadingModal onClose={action('close')} /> - </div> - </Provider> - </IntlProvider> - )); |