UNPKG

934 BTypeScriptView Raw
1import { SxProps } from '@mui/system';
2import { InternalStandardProps as StandardProps, Theme } from '..';
3import { ListItemAvatarClasses } from './listItemAvatarClasses';
4
5export interface ListItemAvatarProps extends StandardProps<React.HTMLAttributes<HTMLDivElement>> {
6 /**
7 * The content of the component, normally an `Avatar`.
8 */
9 children?: React.ReactNode;
10 /**
11 * Override or extend the styles applied to the component.
12 */
13 classes?: Partial<ListItemAvatarClasses>;
14 /**
15 * The system prop that allows defining system overrides as well as additional CSS styles.
16 */
17 sx?: SxProps<Theme>;
18}
19
20/**
21 * A simple wrapper to apply `List` styles to an `Avatar`.
22 *
23 * Demos:
24 *
25 * - [Lists](https://mui.com/material-ui/react-list/)
26 *
27 * API:
28 *
29 * - [ListItemAvatar API](https://mui.com/material-ui/api/list-item-avatar/)
30 */
31export default function ListItemAvatar(props: ListItemAvatarProps): React.JSX.Element;