PhoenixKitWarehouse. Web. Components. SortHeader
(PhoenixKitWarehouse v0.5.2)
Copy Markdown
View Source
The clickable column header every warehouse list table uses.
Renders the column label with a sort chevron and raises "toggle_sort"
(with phx-value-by) on the parent LiveView, so it needs no phx-target
and works in every list view that implements that event. It lived as an
identical private component in each of the seven list LiveViews; keeping
one copy means a layout fix lands everywhere at once.