How to add babel plugin in Ionic React App?

I got this error message:

Add @babel/plugin-proposal-class-properties (https://git.io/vb4SL) to the ‘plugins’ section of your Babel config to enable transformation

Thank you.