Open agriffis opened 1 year ago
I forked it and patched it if you want to throw a yarn resolutions entry into your project: https://www.npmjs.com/package/@styled/react-element-to-jsx-string
”react-element-to-jsx-string”: “npm:@styled/react-element-to-jsx-string“
Describe the bug
If I attempt to use createPortal in a decorator, the story breaks like this:
Here is the decorator:
To Reproduce
Repo at https://github.com/agriffis/storybook-createportal
This was created with three steps:
pnpm create vite storybook-createportal
pnpx storybook@next init
To repro locally
System
Additional context
No response