Where should `@emotion/styled` and `@emotion/react` comes from ?
JulienKode opened this issue · 2 comments
JulienKode commented
Thanks for creating this nice library
I have a question regarding the import of @emotion/styled
inside the components
Where is it supposed to comes from I do not see it as peerDeps
or deps
?
It creates the following error on my side:
Module not found: Error: Can't resolve '@emotion/styled' in '/Users/XXX/node_modules/storybook-amp/dist/components'
@ /Users/XXX/node_modules/storybook-amp/dist/components/PanelContent.js 10:37-63
When I add @emotion/styled
and @emotion/react
as a devDeps it works on my side
JulienKode commented
Created #9 in case we need to add it