This TypeScript interface, SortedOptionsIf, represents the configuration options for sorting.
It contains three properties, each of type IconIf. This allows the consumer of this interface to specify their
own icon for ascending sort order (iconAsc), descending sort order (iconDesc), and a placeholder icon (iconPlaceholder).
The IconIf interface represents an icon with content, css style, and css classes.
This TypeScript interface,
SortedOptionsIf, represents the configuration options for sorting.It contains three properties, each of type
IconIf. This allows the consumer of this interface to specify their own icon for ascending sort order (iconAsc), descending sort order (iconDesc), and a placeholder icon (iconPlaceholder).The IconIf interface represents an icon with content, css style, and css classes.
For example:
Note that the
classesproperty inIconIfexpects an array of strings, each string indicating a CSS class that should be applied to the icon.