2.1.0 • Published 6 years ago
react-mail-form v2.1.0
react-mail-form
React component for simple contact form with zero dependencies
Getting Started
$ npm i -S react-mail-formDevelopment
$ npm run dev- access localhost:8888
Production Bundle
$ npm run buildHow to Use
import ReactContactForm from 'react-mail-form';
<ReactContactForm to="address@gmail.com" />Parameters
| Parameter | Type | Remarks |
|---|---|---|
| to | string | Required |
| className | string | Optional |
| titleMaxLength | string / number | - |
| titlePlaceholder | string | - |
| contentsRows | string / number | - |
| contentsMaxLength | string / number | - |
| contentsPlaceholder | string | - |
| buttonText | string | - |