FloatingWhatsAppButton
2.0.0
Requires Celeste 3.0.0
Install or Update
wp celeste pull component FloatingWhatsAppButtonDependencies will automatically be installed.
Floating WhatsApp Button
Properties
| Prop | Description |
|---|---|
number |
A valid WhatsApp phone number |
Usage
<!-- Use data from the Globals options page -->
<FloatingWhatsAppNumber :number="globals.whatsapp_number" />
<!-- Any number -->
<FloatingWhatsAppNumber number="07456123555" />
How to use it
<!--
Note: For the icon to show up, you need to have a
whatsapp.svg in the src/icons directory.
-->
<FloatingWhatsAppButton number="07123 456 789" />