diff --git a/examples/official-storybook/stories/addon-actions.stories.js b/examples/official-storybook/stories/addon-actions.stories.js index 6be85d5f379..83fbffff1f1 100644 --- a/examples/official-storybook/stories/addon-actions.stories.js +++ b/examples/official-storybook/stories/addon-actions.stories.js @@ -1,7 +1,7 @@ /* global window */ import React from 'react'; import { storiesOf } from '@storybook/react'; -import { action, decorateAction } from '@storybook/addon-actions'; +import { action, configureActions, decorateAction } from '@storybook/addon-actions'; import { setOptions } from '@storybook/addon-options'; import { Button } from '@storybook/react/demo'; import { File } from 'global'; @@ -69,6 +69,13 @@ storiesOf('Addons|Actions', module) + @@ -77,4 +84,17 @@ storiesOf('Addons|Actions', module) ); + }) + .add('configureActions', () => { + configureActions({ + depth: 2, + }); + + return ( + + ); });