While using existing library in my react application throws **
syntaxerror: then library path: support for the experimental syntax 'jsx' isn't currently enabled.
Add @babel/preset-react to the 'presets' section of your Babel config to enable transformation.
**
I tried adding @babel/preset-react in my react code babel.config.js but it is not working.