nylas-scheduling-method
Overview
The nylas-scheduling-method
component is a UI component that displays the booking calendar picker.
Version | 1.1.0 |
Install (React) | npm install @nylas/react |
Import (React) | import { NylasSchedulingMethod } from '@nylas/react'; |
Properties
Property | Attribute | Description | Type | Default |
---|---|---|---|---|
name | name | The name of the booking type picker. | string | 'availability-method' |
participantOptions | — | The participant options passed in the additionalParticipants prop from the nylas-scheduler-editor component. | AdditionalParticipant[] | undefined | undefined |
readOnly | read-only | This prop is used to display the component in a disabled state / read-only mode. | boolean | false |
selectedConfiguration | — | The selected config | Configuration | undefined | undefined |
Events
Event | Description | Type |
---|---|---|
valueChanged | This 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
Part | Description |
---|---|
"nsm" | The booking calendar picker container |
"nsm__dropdown" | The dropdown container |
"nsm__dropdown-button" | The dropdown button |
"nsm__dropdown-content" | The dropdown content |
"nsm__header" | The header of the booking calendar picker |
"nsm__input-label" | The input label of the booking calendar picker |
Built with StencilJS