defmodule SpazioSolazzoWeb.BookingComponents do @moduledoc """ Reusable components for the booking flow. """ use Phoenix.Component alias SpazioSolazzo.CalendarExt attr :id, :string, required: true attr :show, :boolean, default: false attr :on_close, :any, required: true @doc """ Success modal displayed when a booking is completed. """ def booking_confirmation_modal(assigns) do ~H"""
Your booking has been confirmed. You will receive a confirmation email shortly.