New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

react-whatsapp

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-whatsapp

React component for whatsapp click to chat

latest
Source
npmnpm
Version
0.3.0
Version published
Weekly downloads
363
-16.93%
Maintainers
1
Weekly downloads
 
Created
Source

React Whatsapp

npm versionLicense: MITBuild StatusNetlify Status

React component for whatsapp click to chat

Installation

npm i react-whatsapp
// OR
yarn add react-whatsapp

Local demo:

git clone https://github.com/andrelmlins/react-whatsapp.git
cd react-whatsapp
npm install && npm run start

Examples

import React from 'react';
import { render } from 'react-dom';
import ReactWhatsapp from 'react-whatsapp';

const App = () => (
  <ReactWhatsapp number="1-212-736-5000" message="Hello World!!!" />
);

render(<App />, document.getElementById('root'));

Properties

PropDefaultTypeDescription
number--stringPhone number
message--stringMessage for chat
elementbuttonelementEither a string to use a HTML element or a component.

NPM Statistics

Download stats for this NPM package

NPM

License

React Whatsapp is open source software licensed as MIT.

Keywords

react

FAQs

Package last updated on 26 Jun 2022

Did you know?

Socket

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