figma / code-connect

A tool for connecting your design system components in code with your design system in Figma
MIT License
938 stars 68 forks source link

[Storybook] Support adding import statements #142

Open SevenOutman opened 2 months ago

SevenOutman commented 2 months ago

Hey team, can we support adding import statements in Storybook integration, just like the imports option in figma.connect()?

Looks like it's currently hard-coded to be empty.

https://github.com/figma/code-connect/blob/76c9fccca778977bbd4d58928ab76d1b601f789f/cli/src/storybook/convert.ts#L144

karlpetersson commented 2 months ago

Hey @SevenOutman! Thanks for flagging, we'll let you know when we'll have a release out that adds support for this.