1.0.5 • Published 2 months ago

@tebuto/react-booking-widget v1.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

Table of Contents

Installing

This is a Node.js module available through the npm registry.

Installation is done using thenpm install command:

npm install @tebuto/react-booking-widget

Getting Started

You need an existing react project to use the Tebuto booking component, if you don't have one follow this Guide to create one.

Here's a basic example how the widget can be used:

import { TebutoBookingWidget } from '@tebuto/react-booking-widget'

const YourComponent = () => {
  return <TebutoBookingWidget therapistUUID="<your-therapist-uuid>" />
}

You can obtain the therapist UUID from the appointment settings. In the embedding section, click on the HTML button and use the value from the data-therapist-uuid attribute.

API Reference

Note: The values for the therapist UUID and the category IDs can be obtained from the HTML embedding option in the appointment settings.

NameDescriptionTypeRequiredDefault
therapistUUIDA unique identifier for the therapist.stringYes-
backgroundColorThe hex background color of the component.stringNotransparent
borderSpecifies the border style (e.g., none, solid, dashed).booleanNotrue
categoriesAn array of appointment category IDs to be shown in the widget.number[]No[]

License

MIT

1.0.5

2 months ago

1.0.4

2 months ago

1.0.3

4 months ago

1.0.2

6 months ago

1.0.1

6 months ago

1.0.0

6 months ago