I have a .js
file which will create Gauge meter component when used in html. Now want to use that .js
file in React component. So what will be the way to import this .js
file and use as component as below.
Javascript file
Gauge.js
I have a .js
file which will create Gauge meter component when used in html. Now want to use that .js
file in React component. So what will be the way to import this .js
file and use as component as below.
Javascript file
Gauge.js