nylas-booking-confirmation-type

Overview

The nylas-booking-confirmation-type component is a UI component that allows the user to choose a custom redirect URL after a booking is confirmed.

Version1.1.0
Install (React)npm install @nylas/react
Import (React)import { NylasBookingConfirmationType } from '@nylas/react';

Properties

PropertyAttributeDescriptionTypeDefault
bookingTypebooking-typeThe booking type.string'booking'
namenameThe name of the confirmation redirect link.string'confirmation-type'
selectedConfigurationThe selected configConfiguration | undefinedundefined
showComponentshow-component<span style=“color:red”>[DEPRECATED]</span> Show or hide the confirmation type. This prop is automatically determined based on the value of selectedConfiguration in the config, making it unnecessary to set this prop manually. The selectedConfiguration alone handles the functionality. This prop is deprecated and will be removed in the next version. Setting this prop will have no effect.<br/><br/>booleanthis.selectedConfiguration?.event_booking?.booking_type !== 'custom-confirmation'

Events

EventDescriptionType
valueChangedThis event is fired when the selected bookingType changes.CustomEvent<{ value: string; name: string; valueChanged?: ((event: CustomEvent<{ value: string; name: string; }>) => void) | undefined; }>

Shadow Parts

PartDescription
"nbct"The custom booking flow container
"nbct__dropdown"The dropdown container
"nbct__dropdown-button"The dropdown button
"nbct__dropdown-content"The dropdown content
"nbct__header"The header of the custom booking flow

Built with StencilJS