react-mail-form
v2.1.0
Published
React component for simple contact form with zero dependencies
Downloads
50
Maintainers
Readme
react-mail-form
React component for simple contact form with zero dependencies
Getting Started
$ npm i -S react-mail-form
Development
$ npm run dev
- access localhost:8888
Production Bundle
$ npm run build
How to Use
import ReactContactForm from 'react-mail-form';
<ReactContactForm to="[email protected]" />
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 | - |