UNPKG

1.64 kBTypeScriptView Raw
1export interface TableSortLabelClasses {
2 /** Styles applied to the root element. */
3 root: string;
4 /** Styles applied to the root element if `direction="desc"`. */
5 directionDesc: string;
6 /** Styles applied to the root element if `direction="asc"`. */
7 directionAsc: string;
8 /** State class applied to the root element if `active={true}`. */
9 active: string;
10 /** Styles applied to the icon component. */
11 icon: string;
12 /** Styles applied to the icon component if `direction="desc"`.
13 * @deprecated Combine the [.MuiTableSortLabel-icon](/material-ui/api/table-sort-label/#table-sort-label-classes-icon) and [.MuiTableSortLabel-directionDesc](/material-ui/api/table-sort-label/#table-sort-label-classes-direction-desc) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
14 */
15 iconDirectionDesc: string;
16 /** Styles applied to the icon component if `direction="asc"`.
17 * @deprecated Combine the [.MuiTableSortLabel-icon](/material-ui/api/table-sort-label/#table-sort-label-classes-icon) and [.MuiTableSortLabel-directionAsc](/material-ui/api/table-sort-label/#table-sort-label-classes-direction-asc) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
18 */
19 iconDirectionAsc: string;
20}
21export type TableSortLabelClassKey = keyof TableSortLabelClasses;
22export declare function getTableSortLabelUtilityClass(slot: string): string;
23declare const tableSortLabelClasses: TableSortLabelClasses;
24export default tableSortLabelClasses;