Socket
Socket
Sign inDemoInstall

hc-contact-form

Package Overview
Dependencies
19
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    hc-contact-form

Contact form for adding new Contact


Version published
Weekly downloads
6
Maintainers
1
Created
Weekly downloads
 

Readme

Source

ContactForm Component

ContactForm component provides a Form layout with GraphQl integrations for adding new Contact
node-current
View on NPM »

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

Storybook

Setup

  1. Install the ContactForm component.
npm install hc-contact-form --save
  1. Import the ContactForm.
import ContactForm from 'hc-contact-form';
  1. Mount the ContactForm component on the DOM
ReactDOM.render(<ContactForm />, document.getElementById('root'));
  1. Run the App
npm start

Setup for running the development version

  1. Open the index.js file & Uncomment the "Development code" part & comment on the "Production Code" part.

  2. Open package.json file & temporarily remove the "homepage" key pair.

  3. Run npm start.

Command for running the test cases

npm test -- --coverage

Props of HeaderBar component

PropsTypeDescription
contactFormClassnamestringThe className of container

FAQs

Last updated on 02 Dec 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc