Skip to content

Commit

Permalink
Merge pull request #1038 from shilman/1017-deprecate-builtin-addons
Browse files Browse the repository at this point in the history
Deprecate builtin addons
  • Loading branch information
shilman authored May 17, 2017
2 parents f5bf4dd + 598fd65 commit 8c6655f
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
## v.Next

- Deprecated `{ linkTo, action }` as built-in addons: https://github.com/storybooks/storybook/issues/1017. From 3.0 use them as you would [any other addon](https://storybooks.js.org/docs/react-storybook/addons/using-addons/).

Before:

```js
// .storybook/addons.js
import '@kadira/storybook/addons'

// *.stories.js
import { linkTo, action } from '@kadira/storybook'
```

After:

```js
// .storybook/addons.js
import '@storybook/addon-actions/register'
import '@storybook/addon-links/register'

// *.stories.js
import { action } from '@storybook/addon-actions'
import { linkTo } from '@storybook/addon-links'
```

0 comments on commit 8c6655f

Please sign in to comment.