storiesOf() and Placeholders
Learn different ways to show stories and how to use placeholders.
We'll cover the following...
We'll cover the following...
Different approaches to show stories
The stories so far have been shown in the Component Story Format (CSF). This approach’s main benefit is that the created components can be re-used by other tools that use components, for example, for testing. However, another way to define stories is the older, and still supported, storiesOf
approach. This approach is more succinct, helps create multiple story groups within a single file, and is currently the only method supported for ...