nylas-cancellation-policy

Overview

The nylas-cancellation-policy component is a form input for the cancellation policy message of an event.

Version1.3.6
Install (React)npm install @nylas/react
Import (React)import { NylasCancellationPolicy } from '@nylas/react';
Import (CDN)You do not need to individually import the component, just import the parent component either nylas-scheduling or nylas-scheduler-editor.

Example


Properties

PropertyAttributeDescriptionTypeDefault
selectedLanguageThe selected language.LANGUAGE_CODE.de | LANGUAGE_CODE.en | LANGUAGE_CODE.es | LANGUAGE_CODE.fr | LANGUAGE_CODE.ja | LANGUAGE_CODE.ko | LANGUAGE_CODE.nl | LANGUAGE_CODE.sv | LANGUAGE_CODE.zh | undefinedundefined

Standalone Props

ⓘ NOTE: The following props are automatically configured when used within nylas-scheduler-editor. Set these props manually only if you’re using the component independently.
PropertyAttributeDescriptionTypeDefault
cancellationPolicyThe cancellation policy stored in the configurationstring | undefinedundefined
nameThe name of the cancellation policy input.string'cancelation-policy'
selectedConfigurationThe selected configConfiguration | undefinedundefined

Events

EventDescriptionType
valueChangedEvent emitted when the cancellation policy message changes.CustomEvent<{ value: string; name: string; }>

Shadow Parts

PartDescription
"ncpolicy"The cancellation policy container
"ncpolicy__textarea"The cancellation policy textarea

Built with StencilJS