Boilerplate for a Ledger UI component module.
defmodule LedgerUI.Components.Button do
@moduledoc "..."
use LedgerUI.Component
attr :class, :any, default: nil
def button(assigns), do: ~H"..."
endBrings in Phoenix.Component (with global_prefixes: ["keep-"], so the LiveView patch
markers keep-hidden, keep-class, keep-style, keep-data-* pass through :global),
the JS alias, LedgerUI.Helpers (cx/1, ...) and LedgerUI.Components.Icon (<.icon>).