1.0.3 • Published 5 years ago

react-whatsapp-badge v1.0.3

Weekly downloads
19
License
MIT
Repository
github
Last release
5 years ago

react-whatsapp-badge

Click to chat Whatsapp badge

NPM JavaScript Style Guide

demo

Install

npm install --save react-whatsapp-badge

Usage

import React, { Component } from 'react'
import WhatsappBadge from 'react-whatsapp-badge'

class Example extends Component {
  render () {
    return (
      <WhatsappBadge text='Hello there' phone='55123456789' image='whatsapp.png' />
    )
  }
}

More info about Whatsapp click to chat

Options

ParameterRequiredDesciption
textyesText to display on input when open chat
phoneyesPhone number with country code to send message (only number)
imageyesImage to display on badge (download this file and save on public folder: img)

License

MIT © felops

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago