React component for simple contact form with zero dependencies
$ npm i -S react-mail-form
$ npm run dev- access localhost:8888
$ npm run buildimport ReactContactForm from 'react-mail-form';
<ReactContactForm to="[email protected]" />| Parameter | Type | Remarks |
|---|---|---|
| to | string | Required |
| className | string | Optional |
| titleMaxLength | string / number | - |
| titlePlaceholder | string | - |
| contentsRows | string / number | - |
| contentsMaxLength | string / number | - |
| contentsPlaceholder | string | - |
| buttonText | string | - |