nylas-feedback-form
Overview
The nylas-feedback-form
component is a UI component that displays the booked event card.
Version | 1.1.4 |
Install (React) | npm install @nylas/react |
Import (React) | import { NylasFeedbackForm } from '@nylas/react'; |
Import (CDN) | <script type="module">
import { defineCustomElement } from "https://cdn.jsdelivr.net/npm/@nylas/web-elements@latest/dist/cdn/nylas-feedback-form/nylas-feedback-form.es.js";
defineCustomElement();
</script> |
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