Webpack 4-based builder for Storybook that provides framework-agnostic build engine for preview iframe compilation and bundling.
91
Build a component library story configuration that demonstrates internationalization (i18n) support using a global language selector. The solution should allow users to switch between multiple languages globally across all stories in the Storybook, with the language selection persisted through the toolbar.
Create a global state system that:
Create two component stories that demonstrate the language switching:
A greeting card component that displays:
A button component that displays:
The translations should be:
For English:
For Spanish:
For French:
@generates
/**
* Preview configuration that defines the global language state system
* and sets up the greeting card and button stories.
*/Provides React renderer and story APIs for Storybook.
React library for building UI components.
Install with Tessl CLI
npx tessl i tessl/npm-storybook--builder-webpack4evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10