Allow components to change Storybook globals #202
Labels
documentation
Related to the writing documentation or the tools used to generate docs
enhancement
Request for a change to existing functionality
quickfix
Immediately actionable and should be fast
The ItemViewAppBar has a UI toggle for turning dark mode on/off. In our codebase this is a state variable. In Storybook this is a global context. We can implement a way to change the global context value and refresh the page inside ItemViewAppBar and other function according to this Storybook docs page.
The text was updated successfully, but these errors were encountered: