react-floating-whatsapp

Simple react component for adding a floating WhatsApp button to your project.

MIT License

Downloads
9.9K
Stars
72
Committers
7

Bot releases are hidden (Show)

react-floating-whatsapp - v5.0.8 Latest Release

Published by awran5 almost 2 years ago

v5.0.8 - 2022-12-31

Merged

  • feat: Allow customization of messageDelay #19
  • fix: component folder lowercase #18
react-floating-whatsapp - 5.0.7

Published by awran5 almost 2 years ago

v5.0.7

  • feat: add new props onNotification, notificationStyle, notificationClassName
  • build: add @rollup/plugin-terser 4bf43c7
  • build: safe upgrade c682d6d
  • fix: notification indicator CSS d6f4b3a
  • docs: update docs 6ed9e8d
react-floating-whatsapp - v5.0.6

Published by awran5 almost 2 years ago

v5.0.6

bug fix

  • animation bug on safari with ios 16 2a06980 issue #14
react-floating-whatsapp - v5.0.2

Published by awran5 about 2 years ago

v5.0.0 - 2022-10-07

Commits

  • build: update dependencies 59ddd9e
  • build: remove example folder 36c5110
  • feat: add new props and improvements b5bcc21

Features

  • BREAKING CHANGES: change default import to name import
  • BREAKING CHANGES: rename height prop to chatboxHeight
  • BREAKING CHANGES: rename styles prop to style
  • BREAKING CHANGES: notificationDelay now in seconds instead of millisecond
  • add: new prop onClick Callback function fires on click
  • add: new prop onSubmit Callback function fires on submit with event and form input value passed
  • add: new prop onClose Callback function fires on close
  • add: new prop onLoopDone Callback function called when notification loop done
  • add: new prop notificationLoop to control repeated notifications loop
  • add: new prop notificationSoundSrc allow Notification sound custom src
  • add: new prop buttonStyle Inline style applied to button
  • add: new prop buttonClassName CSS className applied to button
  • add: new prop chatboxStyle Inline style applied to chat box
  • add: new prop chatboxClassName CSS className applied to chat box
  • perf: change input from to be uncontrolled to avoid unnecessary renders.
react-floating-whatsapp - v4.0.5

Published by awran5 about 3 years ago

  • Removed: semantic-release
  • Removed: GitHub action
  • Modified: using @rollup/plugin-url for handling the assets
react-floating-whatsapp - v4.0.3

Published by awran5 about 3 years ago

Package Rankings
Top 4.32% on Npmjs.org
Badges
Extracted from project README
NPM Edit react-floating-whatsapp
Related Projects