easymailing-client is a react component that provides an email form that's built to send a post request to a server.
npm i easymailing-client
Require the package
import EasyMailing from 'easymailing-client';
You can use the component as:
<EasyMailing baseUrl='http://localhost:3333' path='mail'>
where baseUrl is the location of your server and path is the path you would like to receive the post request.