How to use @storybook/addon-console - 1 common examples

To help you get started, we’ve selected a few @storybook/addon-console examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github jbetancur / react-data-table-component / .storybook / config.js View on Github external
addDecorator((storyFn, context) => withConsole(optionsCallback)(storyFn)(context));

@storybook/addon-console

Show console output like logs, errors, and warnings in the Storybook

MIT
Latest version published 11 months ago

Package Health Score

70 / 100
Full package analysis

Popular @storybook/addon-console functions