nylas-min-booking-notice

Overview

The nylas-min-booking-notice component is a form input for the minimum period of notice (minutes) that a guest must provide to book an event.

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

Properties

PropertyAttributeDescriptionTypeDefault
minBookingNoticemin-booking-noticeThe minimum booking notice (minutes) stored in the configurationnumber | undefinedundefined
namenameThe name of the min booking notice input.string'min-booking-notice'
selectedConfigurationThe selected configConfiguration | undefinedundefined

Events

EventDescriptionType
valueChangedThis event is fired when the value of the min booking notice changes.CustomEvent<{ value: string; name: string; }>

Shadow Parts

PartDescription
"nmbn"The minimum booking notice container
"nmbn__number-dropdown"The number dropdown container
"nmbn__number-dropdown-button"The number dropdown button
"nmbn__number-dropdown-content"The number dropdown content
"nmbn__period-dropdown"The period dropdown container
"nmbn__period-dropdown-button"The period dropdown button
"nmbn__period-dropdown-content"The period dropdown content

Built with StencilJS