3 ms·
Do you have any examples you can share where you've customized Storybook in this manner? If I understand correctly, as opposed to loading your components in is
by sbarre 6y ago
Do you have any examples you can share where you've customized Storybook in this manner?
If I understand correctly, as opposed to loading your components in isolation in Storybook, you're providing them with a context similar to the actual app they're going to exist in?
- artboomy 6y agoNot OP, but i suppose you can use custom decorator to wrap components and globalTypes for some customization, like theme selector https://storybook.js.org/docs/react/essentials/toolbars-and-globals#global-types-and-the-toolbar-annotation https://storybook.js.org/docs/react/essentials/toolbars-and-...