nylas-min-cancellation-notice
Overview
The nylas-min-cancellation-notice
component is a form input for the minimum period of notice (minutes) that a guest must
provide to cancel a booked event.
Version | 1.1.0-canary.14 |
Install (React) | npm install @nylas/react |
Import (React) | import { NylasMinCancellationNotice } from '@nylas/react'; |
Properties
Property | Attribute | Description | Type | Default |
---|---|---|---|---|
minCancellationNotice | min-cancellation-notice | The minimum cancellation notice (minutes) stored in the configuration | number | undefined | undefined |
name | name | The name of the min cancellation notice input. | string | 'min-cancellation-notice' |
selectedConfiguration | — | The selected config | Configuration | undefined | undefined |
Events
Event | Description | Type |
---|---|---|
valueChanged | This event is fired when the value of the min cancellation notice changes. | CustomEvent<{ value: string; name: string; }> |
Shadow Parts
Part | Description |
---|---|
"nmcn" | The minimum cancellation notice container |
"nmcn__number-dropdown" | The number dropdown container |
"nmcn__number-dropdown-button" | The number dropdown button |
"nmcn__number-dropdown-content" | The number dropdown content |
"nmcn__period-dropdown" | The period dropdown container |
"nmcn__period-dropdown-button" | The period dropdown button |
"nmcn__period-dropdown-content" | The period dropdown content |
Built with StencilJS