Skip to content

wonism/react-mail-form

Repository files navigation

react-mail-form

React component for simple contact form with zero dependencies

Getting Started

$ npm i -S react-mail-form

Development

$ npm run dev

Production Bundle

$ npm run build

How 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 -