code-connect
code-connect copied to clipboard
[Storybook] Support setting different props for differeant variants
Hey team, can we support setting different props for each variant, just like what we can do with figma.connect()?
Looks like it's currently hard-coded to use the same props https://github.com/figma/code-connect/blob/76c9fccca778977bbd4d58928ab76d1b601f789f/cli/src/storybook/convert.ts#L222-L226
Hey, thanks for reporting, yeah this looks like a possible oversight. We'll look into it!
This has been fixed on v1.3.0 - https://github.com/figma/code-connect/releases/tag/v1.3.0