forked from mui/material-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tablePaginationUnstyledClasses.ts
52 lines (47 loc) · 1.6 KB
/
tablePaginationUnstyledClasses.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
import generateUtilityClass from '../generateUtilityClass';
import generateUtilityClasses from '../generateUtilityClasses';
export interface TablePaginationUnstyledClasses {
/** Styles applied to the root element. */
root: string;
/** Styles applied to the Toolbar component. */
toolbar: string;
/** Styles applied to the spacer element. */
spacer: string;
/** Styles applied to the select label Typography element. */
selectLabel: string;
/** Styles applied to the Select component `root` element. */
selectRoot: string;
/** Styles applied to the Select component `select` class. */
select: string;
/** Styles applied to the Select component `icon` class. */
selectIcon: string;
/** Styles applied to the Select component `root` element. */
input: string;
/** Styles applied to the MenuItem component. */
menuItem: string;
/** Styles applied to the displayed rows Typography element. */
displayedRows: string;
/** Styles applied to the internal `TablePaginationUnstyledActions` component. */
actions: string;
}
export type TablePaginationUnstyledClassKey = keyof TablePaginationUnstyledClasses;
export function getTablePaginationUnstyledUtilityClass(slot: string): string {
return generateUtilityClass('MuiTablePagination', slot);
}
const tablePaginationUnstyledClasses: TablePaginationUnstyledClasses = generateUtilityClasses(
'MuiTablePagination',
[
'root',
'toolbar',
'spacer',
'selectLabel',
'selectRoot',
'select',
'selectIcon',
'input',
'menuItem',
'displayedRows',
'actions',
],
);
export default tablePaginationUnstyledClasses;