whatsapp-api-for-react
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

whatsapp-api-for-react

A HACKABLE REACT LIBRARY FOR OPENING WHATSAPP

NPM JavaScript Style Guide

Install

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

Live Demo

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

Usage

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

Readme

Keywords

none

Package Sidebar

Install

npm i whatsapp-api-for-react

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

15.2 kB

Total Files

10

Last publish

Collaborators

  • kushad