I try to use the npm package @svgr in my react application to import svg\'s as react components. I followed the instructions on how to use this package, but react is only re