Provide a consistent Product table experience
{ sorting : ProductTableSorting (UiBase.Product.Product -> String) msg
, setDisplayImage : Basics.Int -> msg
, currentDate : Date
, sourceHelpControl : Maybe (UiBase.Help.HelpControl msg)
, imageHelpControl : Maybe (UiBase.Help.HelpControl msg)
}
Shared attributes and state/events that must be provided by provided by consumers
{ toggleSort : String -> c -> msg
, sortDescription : UiBase.Product.SortDescription
}
Message used to change sorting direction, and the specification of the current sorting
productTable : ProductTableDescription msg -> List UiBase.Product.Product -> Element msg
The overall table