about summary refs log tree commit diff
path: root/storybook/stories
diff options
context:
space:
mode:
authorYamagishi Kazutoshi <ykzts@desire.sh>2017-06-04 23:26:07 +0900
committerEugen Rochko <eugen@zeonfederated.com>2017-06-04 16:26:07 +0200
commitb0fe58dc699fd1b2de61b54b8e884783f742c664 (patch)
treeaefd80135aee00d6b42c97315454b0552088e6a9 /storybook/stories
parente07b57852e951efebae7e2380a3691236420072d (diff)
Upgrade storybook to v3 (#3558)
Diffstat (limited to 'storybook/stories')
-rw-r--r--storybook/stories/autosuggest_textarea.story.js3
-rw-r--r--storybook/stories/button.story.js3
-rw-r--r--storybook/stories/character_counter.story.js3
-rw-r--r--storybook/stories/loading_indicator.story.js3
4 files changed, 8 insertions, 4 deletions
diff --git a/storybook/stories/autosuggest_textarea.story.js b/storybook/stories/autosuggest_textarea.story.js
index 32d0604e4..65dfe965c 100644
--- a/storybook/stories/autosuggest_textarea.story.js
+++ b/storybook/stories/autosuggest_textarea.story.js
@@ -1,6 +1,7 @@
 import React from 'react';
 import { List } from 'immutable';
-import { action, storiesOf } from '@kadira/storybook';
+import { storiesOf } from '@storybook/react';
+import { action } from '@storybook/addon-actions';
 import AutosuggestTextarea from 'mastodon/components/autosuggest_textarea';
 
 const props = {
diff --git a/storybook/stories/button.story.js b/storybook/stories/button.story.js
index 3fd45cb82..628deed0a 100644
--- a/storybook/stories/button.story.js
+++ b/storybook/stories/button.story.js
@@ -1,5 +1,6 @@
 import React from 'react';
-import { action, storiesOf } from '@kadira/storybook';
+import { storiesOf } from '@storybook/react';
+import { action } from '@storybook/addon-actions';
 import Button from 'mastodon/components/button';
 
 storiesOf('Button', module)
diff --git a/storybook/stories/character_counter.story.js b/storybook/stories/character_counter.story.js
index eb6eae7d8..15a401a25 100644
--- a/storybook/stories/character_counter.story.js
+++ b/storybook/stories/character_counter.story.js
@@ -1,5 +1,6 @@
 import React from 'react';
-import { storiesOf } from '@kadira/storybook';
+import { storiesOf } from '@storybook/react';
+import { action } from '@storybook/addon-actions';
 import CharacterCounter from 'mastodon/features/compose/components/character_counter';
 
 storiesOf('CharacterCounter', module)
diff --git a/storybook/stories/loading_indicator.story.js b/storybook/stories/loading_indicator.story.js
index 84d722d69..3e12f61ca 100644
--- a/storybook/stories/loading_indicator.story.js
+++ b/storybook/stories/loading_indicator.story.js
@@ -1,6 +1,7 @@
 import React from 'react';
 import { IntlProvider } from 'react-intl';
-import { storiesOf } from '@kadira/storybook';
+import { storiesOf } from '@storybook/react';
+import { action } from '@storybook/addon-actions';
 import en from 'mastodon/locales/en.json';
 import LoadingIndicator from 'mastodon/components/loading_indicator';