PhoenixKitWarehouse.Web.Components.WarehouseHeader (PhoenixKitWarehouse v0.1.0)

Copy Markdown View Source

Shared tab navigation for the Warehouse section.

Renders the "In stock" / "Stocktakes" / ... tab bar. Each tab's primary "create new" action lives in that tab's own table toolbar (next to the sort control), not here. Tab links use navigate (not patch) since each tab is served by a separate LiveView module — Warehouse.StockLive, Warehouse.Index, etc.

Summary

Functions

warehouse_header(assigns)

Attributes

  • active (:atom) (required)