Upgrade storybook to v3 (#3558)
This commit is contained in:
committed by
Eugen Rochko
parent
e07b57852e
commit
b0fe58dc69
@ -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 = {
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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';
|
||||
|
||||
|
Reference in New Issue
Block a user