Quantcast
Channel: TypeError "styled": symbol is not a function - Stack Overflow
Browsing latest articles
Browse All 2 View Live

Answer by tmhao2005 for TypeError "styled": symbol is not a function

Looks like you set up loader to import svg to return a component which means as long as you can do the same way with jest by using a transformer which returns a jsx in case of svg file.I suggest to use...

View Article



TypeError "styled": symbol is not a function

I'm running npm test and getting the following error: FAIL src/App.test.js● Test suite failed to run TypeError: symbol is not a function at String (<anonymous>) 3 | import styled from...

View Article
Browsing latest articles
Browse All 2 View Live




Latest Images