Open NguyenTatNhac opened 6 years ago
When I import react-marquee to my project, I get this error message and it doesn't work.
you should either use import * as Marquee from 'react-marquee'; or add "esModuleInterop": true to your tsconfig.json since react-marquee has a CommonJS style export (ie. module.exports = XXX).
import * as Marquee from 'react-marquee';
"esModuleInterop": true
react-marquee
module.exports = XXX
When I import react-marquee to my project, I get this error message and it doesn't work.![error](https://i.imgur.com/AP5oCT6.jpg)