We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When importing storybook-addon-designs/blocks from TypeScript files, TSC emits an error about missing type definition file.
storybook-addon-designs/blocks
Originally posted by pattimcletchie June 10, 2022 I am trying to just use the "figma block" like, https://pocka.github.io/storybook-addon-designs/?path=/docs/docs-advanced-usage--embed-multiple-designs#doc-blocks this example but when I use this import import { Figma } from "storybook-addon-designs/blocks"; I get a type error in my .stories.tsx page
import { Figma } from "storybook-addon-designs/blocks";
.stories.tsx
Type error: Cannot find module 'storybook-addon-designs/blocks' or its corresponding type declarations.
Cannot find module 'storybook-addon-designs/blocks' or its corresponding type declarations.
Any thoughts on how best to use the Figma block when not using story decorator params?
We are using Storybook v6.5.8 and "storybook-addon-designs": "^6.2.1"
The text was updated successfully, but these errors were encountered:
4bf0125
No branches or pull requests
When importing
storybook-addon-designs/blocks
from TypeScript files, TSC emits an error about missing type definition file.Discussed in #155
Originally posted by pattimcletchie June 10, 2022
I am trying to just use the "figma block" like, https://pocka.github.io/storybook-addon-designs/?path=/docs/docs-advanced-usage--embed-multiple-designs#doc-blocks this example but when I use this import
import { Figma } from "storybook-addon-designs/blocks";
I get a type error in my.stories.tsx
pageType error:
Cannot find module 'storybook-addon-designs/blocks' or its corresponding type declarations.
Any thoughts on how best to use the Figma block when not using story decorator params?
We are using Storybook v6.5.8 and "storybook-addon-designs": "^6.2.1"
The text was updated successfully, but these errors were encountered: