code-connect
code-connect copied to clipboard
[Storybook] Support adding import statements
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
Hey @SevenOutman! Thanks for flagging, we'll let you know when we'll have a release out that adds support for this.
This has been fixed in v1.3.0 - https://github.com/figma/code-connect/releases/tag/v1.3.0