# whatsapp-api-for-react

> A HACKABLE REACT LIBRARY FOR OPENING WHATSAPP

Latest version **1.0.0** (published 2020-10-13) · MIT license · 0 weekly downloads

## Install

```sh
npm install whatsapp-api-for-react
pnpm add whatsapp-api-for-react
yarn add whatsapp-api-for-react
bun add whatsapp-api-for-react
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2020-10-13 |
| First published | 2020-10-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Node | >=10 |
| Dependencies | 0 |
| Unpacked size | 14.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | KUSHAD |
| Maintainers | kushad |

## Links

- npm: https://www.npmjs.com/package/whatsapp-api-for-react
- Repository: https://github.com/KUSHAD/whatsapp-api-for-react
- Homepage: https://github.com/KUSHAD/whatsapp-api-for-react#readme
- Issues: https://github.com/KUSHAD/whatsapp-api-for-react/issues
- npm.io page: https://npm.io/package/whatsapp-api-for-react

## Recent versions

- 1.0.0 (latest) — 2020-10-13

## README

# whatsapp-api-for-react

> A HACKABLE REACT LIBRARY FOR OPENING WHATSAPP

[![NPM](https://img.shields.io/npm/v/whatsapp-api-for-react.svg)](https://www.npmjs.com/package/whatsapp-api-for-react) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

## Install

```bash
npm install --save whatsapp-api-for-react
```

## Live Demo

https://kushad.github.io/whatsapp-api-for-react/ >

## Usage

```tsx
import React from 'react';
import { WhatsappButton } from 'whatsapp-api-for-react';
const App = () => {
	return (
		<>
			<div
				style={{
					display: 'flex',
					justifyContent: 'center',
					flexDirection: 'column',
					textAlign: 'center',
					margin: '15px',
					height: '85vh',
					alignItems: 'center'
				}}>
				<h1>Whatsapp Api For React</h1>
				<small style={{ margin: '15px' }}>
					A Hackable React Library For Opening Whatsapp From Your Website
				</small>
				<h6>This Button Is The Default Button</h6>
				<WhatsappButton />
				<h6>This Button Is With The btnText Props</h6>
				<WhatsappButton btnText='This Button Is With The btnText Props' />
			</div>
		</>
	);
};

export default App;
```

## License

MIT © [KUSHAD](https://github.com/KUSHAD)

---
_Source: https://npm.io/package/whatsapp-api-for-react · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
