hc-contact-form
v1.0.5
Published
Contact form for adding new Contact
Downloads
1
Readme
About
ContactForm provides layout as well as functionality for adding Contact in the ChatList shell of Conversation Pannel. This component layout is currently matched pixel perfect with the Contact Form shown in this Figma Link.
Usage
Setup
- Install the ContactForm component.
npm install hc-contact-form --save
- Import the ContactForm.
import ContactForm from 'hc-contact-form';
- Mount the ContactForm component on the DOM
ReactDOM.render(<ContactForm />, document.getElementById('root'));
- Run the App
npm start
Setup for running the development version
Open the index.js file & Uncomment the "Development code" part & comment on the "Production Code" part.
Open
package.json
file & temporarily remove the "homepage" key pair.Run
npm start
.
Command for running the test cases
npm test -- --coverage
Props of HeaderBar component
| Props | Type | Description | | -------------------- | ------ | -------------------------- | | contactFormClassname | string | The className of container |