Comments (2)
same issue can solve with code:
// preview.js
import { withConsole } from '@storybook/addon-console'
addDecorator((storyFn, context) =>
withConsole({
panelExclude: [/`waring message`/],
})(storyFn)(context)
)
from storybook-addon-console.
duplicate #13
from storybook-addon-console.
Related Issues (20)
- How to run this addon with React Native? HOT 1
- Is there a way to clear the logs on story change? HOT 5
- compatibility with storybook 5.3? [resolved] HOT 8
- Error logging circular reference HOT 1
- Can we get better logging output? HOT 5
- Object content HOT 7
- Is it compatibility with MDX?
- Include types HOT 2
- This doesn't work with console.dir HOT 2
- [Bug] Errors when running on storybook 6 HOT 4
- [Bug] prop-types missing in dependencies
- [Bug]
- Support for @storybook/react v6
- Support for Storybook 7 HOT 9
- [Bug] Can't resolve 'global/window' error after updating to Storybook v7 HOT 5
- [Bug] unable to install
- Some development commands does not working HOT 1
- [Bug] Runtime error after updating to Storybook 7.6.0 HOT 5
- Remove type annotation from preview.js example
- Unclear docs? How do I install it? HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from storybook-addon-console.