nylas-booking-calendar-picker

Overview

The nylas-booking-calendar-picker component is a UI component that displays the booking calendar picker.

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

Properties

PropertyAttributeDescriptionTypeDefault
calendarsThe calendars to choose from.Calendar[] | undefinedundefined
currentUserThe current logged in user.undefined | { id: string; email: string; name?: string | undefined; }undefined
defaultBookingCalendardefault-booking-calendarThe default selected calendar.string''
namenameThe name of the calendar picker.string'booking-calendar'

Events

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

Shadow Parts

PartDescription
"nbcp"The booking calendar picker container
"nbcp__dropdown"The dropdown container
"nbcp__dropdown-button"The dropdown button
"nbcp__dropdown-content"The dropdown content
"nbcp__header"The header of the booking calendar picker
"nbcp__input-label"The input label of the booking calendar picker

Built with StencilJS