Shared Package Library

ContactMessageDialog

Common

import ContactMessageDialog from "@dertour/ui/components/common/ContactMessageDialog/ContactMessageDialog"

packages/ui/src/components/common/ContactMessageDialog/ContactMessageDialog.tsx · not yet imported by any brand app

"Send a message to your Kuoni expert" dialog (Contact_form.png): an intro, a required message field and a send action. Client-side validation mirrors the server boundary (`validateQuoteMessage`) so obvious mistakes are caught before submit; the message is never logged. Render-only send: the real CRM endpoint is pending, so a valid submit shows the local "sent" confirmation rather than posting. Swap the `handleSubmit` body for the API call when the endpoint lands.


Loading demo…