storybookjs / addon-cssresources

A storybook addon to switch between css resources at runtime for your story
MIT License
7 stars 4 forks source link

Request: more examples #6

Open designbyadrian opened 1 year ago

designbyadrian commented 1 year ago

It isn't clear how to add the CSS resources to the entire component. The decorators on the component, with the same parameters as on per-story basis, results in an empty tab.

It's also unclear how, on the contrary, to make the CSS Resources tab hidden on stories that don't use the decorator.