I'm creating a component library based on Emotion and Typescript.
However, when I import the component in a different project with EmotionJS and NextJS, it doesn't accept the Theme prop.
This is the components repo:
https://github.com/wilsonmsalberto/emotionjs-component-library
This is the repo where I'm reproducing the error:
https://github.com/wilsonmsalberto/emotionjs-component-library-nextjs
My goal is to use the component repo to have multiple themes and multiple components.
Then, in any EmotionJS project, I would import the theme and any component and use it as normal with Emotion.
I'm building directly into the repo and calling the generated component directly from git.
Currently, I'm getting the following error
