UNPKG

1.12 kBTypeScriptView Raw
1export interface ListItemClasses {
2 /** Styles applied to the (normally root) `component` element. May be wrapped by a `container`. */
3 root: string;
4 /** Styles applied to the container element if `children` includes `ListItemSecondaryAction`. */
5 container: string;
6 /** Styles applied to the component element if dense. */
7 dense: string;
8 /** Styles applied to the component element if `alignItems="flex-start"`. */
9 alignItemsFlexStart: string;
10 /** Styles applied to the inner `component` element if `divider={true}`. */
11 divider: string;
12 /** Styles applied to the inner `component` element unless `disableGutters={true}`. */
13 gutters: string;
14 /** Styles applied to the root element unless `disablePadding={true}`. */
15 padding: string;
16 /** Styles applied to the component element if `children` includes `ListItemSecondaryAction`. */
17 secondaryAction: string;
18}
19export type ListItemClassKey = keyof ListItemClasses;
20export declare function getListItemUtilityClass(slot: string): string;
21declare const listItemClasses: ListItemClasses;
22export default listItemClasses;