Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Storybook] Support setting different props for differeant variants #143

Open
SevenOutman opened this issue Aug 27, 2024 · 1 comment
Open

Comments

@SevenOutman
Copy link

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

codeConnectObjects.push({
...baseCodeConnect,
template,
variant: example?.variant,
})

@karlpetersson
Copy link

Hey, thanks for reporting, yeah this looks like a possible oversight. We'll look into it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants