UNPKG

1.49 kBTypeScriptView Raw
1export interface TableCellClasses {
2 /** Styles applied to the root element. */
3 root: string;
4 /** Styles applied to the root element if `variant="head"` or `context.table.head`. */
5 head: string;
6 /** Styles applied to the root element if `variant="body"` or `context.table.body`. */
7 body: string;
8 /** Styles applied to the root element if `variant="footer"` or `context.table.footer`. */
9 footer: string;
10 /** Styles applied to the root element if `size="small"`. */
11 sizeSmall: string;
12 /** Styles applied to the root element if `size="medium"`. */
13 sizeMedium: string;
14 /** Styles applied to the root element if `padding="checkbox"`. */
15 paddingCheckbox: string;
16 /** Styles applied to the root element if `padding="none"`. */
17 paddingNone: string;
18 /** Styles applied to the root element if `align="left"`. */
19 alignLeft: string;
20 /** Styles applied to the root element if `align="center"`. */
21 alignCenter: string;
22 /** Styles applied to the root element if `align="right"`. */
23 alignRight: string;
24 /** Styles applied to the root element if `align="justify"`. */
25 alignJustify: string;
26 /** Styles applied to the root element if `context.table.stickyHeader={true}`. */
27 stickyHeader: string;
28}
29export type TableCellClassKey = keyof TableCellClasses;
30export declare function getTableCellUtilityClass(slot: string): string;
31declare const tableCellClasses: TableCellClasses;
32export default tableCellClasses;