-
I added twin to my project but I get this Error:
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
Could you include a sample project or minimal reproduction steps? |
Beta Was this translation helpful? Give feedback.
-
When I remove the type from the component (:React.FC) the error disappear 🤔 |
Beta Was this translation helpful? Give feedback.
-
In the babel file I added some TypeScript babel plugins so I moved the config of Styled Components and Twin to the buttom and it worked! |
Beta Was this translation helpful? Give feedback.
In the babel file I added some TypeScript babel plugins so I moved the config of Styled Components and Twin to the buttom and it worked!