defmodule CentralcloudMyWeb do
  @moduledoc """
  Entry point for CentralcloudMy LiveViews — provides `use CentralcloudMyWeb, :live_view`
  which includes Phoenix.LiveView and imports PetalComponents.
  """

  def live_view do
    quote do
      use Phoenix.LiveView
      use PetalComponents
    end
  end

  defmacro __using__(which) when is_atom(which) do
    apply(__MODULE__, which, [])
  end
end
