Quantcast
Channel: How to add multiple components into one story using Storybook? - Stack Overflow
Browsing all 3 articles
Browse latest View live

Answer by danilibros for How to add multiple components into one story using...

This was just what I was looking for. Another possible optimization here building off what @Terry suggested where you wouldn't need to list out each icon component by name could be:import * as Icons...

View Article



Answer by Terry for How to add multiple components into one story using...

You can simply render all the buttons into a single react fragment, so that all buttons are bundled into a single story:export default { title: "Icon", component: ListIcons,} as Meta;export const...

View Article

How to add multiple components into one story using Storybook?

I just started using storybook, and I need your help. I've four components for the different icons, and I want to create one story for all of them instead of creating story for each of them.I've...

View Article
Browsing all 3 articles
Browse latest View live


Latest Images