Using addon in MDX & TSX files #155
-
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 Type error: 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" |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
@pattimcletchie Sorry, I didn't consider TS usage for that file. For a workaround, you can import from |
Beta Was this translation helpful? Give feedback.
@pattimcletchie Sorry, I didn't consider TS usage for that file. For a workaround, you can import from
storybook-addon-designs/esm/blocks
orstorybook-addon-designs/cjs/blocks
.#156