Hi,
When am integrating it into my TypeScript ReactJs application am getting following error
Support for the experimental syntax 'jsx' isn't currently enabled (29:5):
27 |
28 | return (
29 | <path
| ^
30 | d={secondaryPath}
31 | stroke={color}
32 | strokeOpacity={opacity}
Add @babel/preset-react (https://git.io/JfeDR) to the 'presets' section of your Babel config to enable transformation.
If you want to leave it as-is, add @babel/plugin-syntax-jsx (https://git.io/vb4yA) to the 'plugins' section to enable parsing.