nylas-feedback-form
Overview
The nylas-feedback-form
component is a UI component that displays the booked event card.
Version | 1.3.6 |
Install (React) | npm install @nylas/react |
Import (React) | import { NylasFeedbackForm } 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 . |
Properties
Standalone Props
ⓘ NOTE: The following props are automatically configured when used within nylas-scheduling. Set these props manually only if you’re using the component independently.
Property | Attribute | Description | Type | Default |
---|---|---|---|---|
themeConfig | The theme configuration. | any | undefined |
Events
Event | Description | Type |
---|---|---|
feedbackModalClosed | Feedback modal close event. | CustomEvent<void> |
feedbackSubmitted | Feedback submitted event. | CustomEvent<{ feedback: string; }> |
triggerValidation | This is an internal event that is used to trigger validation on the form. | CustomEvent<void> |
Shadow Parts
Part | Description |
---|---|
"nfbf" | The booked event card host. |
"nfbf__button-outline" | The cancel & reschedule button CTA. |
"nfbf__cancel-cta" | The cancel button CTA. |
"nfbf__card" | The booked event card. |
"nfbf__close-button" | |
"nfbf__description" | The description of the booked event card. |
"nfbf__reschedule-cta" | The reschedule button CTA. |
"nfbf__title" | The title of the booked event card. |
"nfbfc__card" |
Built with StencilJS