chrisvxd / story2sketch

Convert Storybook into Sketch symbols 💎
Other
402 stars 32 forks source link

Config option to include all stories in a "kind" #88

Open Peeja opened 4 years ago

Peeja commented 4 years ago

I was hoping I could do:

module.exports = {
  output: 'stories.asketch.json',
  stories: [
    {
      kind: 'Shared/Buttons',
      stories: 'all',
    },
  ],
};

but that doesn't appear to be supported. We have lots of stories for our Button component, demonstrating the various states it can have. I'd rather not enumerate them here and keep that list up to date. But I also don't want to include all stories in our Storybook.