I'm using primereact and react-google-charts. However, they all require me to call the components Charts. When I write a chart, an error occurs. What solution should I follow?
(https://i.stack.imgur.com/4qGie.png)(https://i.stack.imgur.com/5dpNr.png)
I tried to call the component chart, but VSCode reported an error. Then I tried calling it Gantt but I got the above error.
You can use import alias
Now you can use GoogleChart and PrimeChart anywhere