# `LedgerUI.Components`
[🔗](https://github.com/devaction-labs/ledger_ui/blob/v0.2.0/lib/ledger_ui/components.ex#L1)

Registry of every component module of Ledger UI.

`use LedgerUI` imports each module listed in `__modules__/0`. Add a module here
only when creating a new one (the foundation already lists all of them).

# `__imports__`

```elixir
@spec __imports__(module()) :: [{atom(), arity()}]
```

The `only:` list `use LedgerUI` passes to `import` for `module`: its function components
(`name/1`) plus the documented JS/socket helpers. Never other public helpers.

# `__modules__`

```elixir
@spec __modules__() :: [module()]
```

All component modules, imported by `use LedgerUI`.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
