Use a ThemeProvider component in Storybook
Storybook is amazing tool for building component libraries. Sometimes we want to extend it to work with Provider components, such as an Emotion/Styled ThemeProvider. In this post, we explore how we can add a ThemeProvider to Storybook. This technique works with other libraries as well (like Redux).
Tags: react, webdev, storybook