chrisvxd / story2sketch

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

Format of config #56

Open uxdxdev opened 5 years ago

uxdxdev commented 5 years ago
stories: [
    {
      kind: 'Components',
      stories: [
        {
          name: 'Card',
        },
      ],
    },
  ],

Some more information on the config would be good. What does kind mean? How do I select only one story to convert? at the moment I'm working on a large design system but I cant figure out how to filter the stories.

In my directory structure I have stories defined in stories/Components/Card/CardStory.jsx how do I target only that story using the config?

chrisvxd commented 5 years ago

@damorton would you still like clarification on this?

uxdxdev commented 5 years ago

No its fine I figured it out, but through trial and error, some examples of use with all config variables set to either true/false so we know whats available would be good. Also a short comment on exactly what each option means and how it maps back to sketch would be useful.

chrisvxd commented 5 years ago

Thanks for the feedback @damorton, I'm going to re-open this issue so I have a reference.

acrossell-hedgehog commented 5 years ago

@damorton would you still like clarification on this?

Hi Chris, could you clarify this for me please?

acrossell-hedgehog commented 5 years ago

Sorted with some trial and error. Thanks for a great tool!