diff --git a/docs/src/pages/addons/using-addons/index.md b/docs/src/pages/addons/using-addons/index.md index aa8b5c9f6bbe..d8653693d75a 100644 --- a/docs/src/pages/addons/using-addons/index.md +++ b/docs/src/pages/addons/using-addons/index.md @@ -37,8 +37,10 @@ import { withNotes } from '@storybook/addon-notes'; import Button from './Button'; storiesOf('Button', module) - .add('with some emoji', () => ( - withNotes('A very simple component')(() => )); + .add('with some emoji', withNotes('A very simple component')(() => + )); ```