You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 31, 2024. It is now read-only.
We've got a custom addon that we've written internally to allow us to document / manipulate our i18n translations inside storybooks & we're having trouble getting it to work with this.
So far I've:
Started to set up @storybookjs/testing-react (which, once we get it working will save a lot of time & be incredibly useful so thanks)
Noticed that the decorator provided by the addon wasn't being applied (which I guess makes sense? the .storybook/main.js with the addon array isn't referenced anywhere)
Thought I'd use the setGlobalConfig to manually add in the decorator from our addon
Got the Storybook preview hooks can only be called inside decorators and story functions. error