From 09baf1ee5ef7a7914ccac3229110513b2147311b Mon Sep 17 00:00:00 2001 From: simon360 Date: Tue, 6 Feb 2018 16:36:55 +0000 Subject: [PATCH] Update docs on LinkTo in addon-links The existing docs didn't provide correct examples of how to use LinkTo - it should be the default import from `@storybook/addon-links/react`, but was documented as a named import from `@storybook/addon-links`. --- addons/links/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/links/README.md b/addons/links/README.md index 9598fe24fc5..09527809700 100644 --- a/addons/links/README.md +++ b/addons/links/README.md @@ -105,7 +105,7 @@ A React implementation of such a component can be imported from `@storybook/addo ```js import { storiesOf } from '@storybook/react'; -import { LinkTo } from '@storybook/addon-links'; +import LinkTo from '@storybook/addon-links/react'; storiesOf('Link', module) .add('First', () => (