UNPKG

573 BTypeScriptView Raw
1import { StandardProps } from '..';
2
3export interface ListItemAvatarProps extends StandardProps<{}, ListItemAvatarClassKey> {
4 /**
5 * The content of the component – normally `Avatar`.
6 */
7 children: React.ReactElement;
8}
9
10export type ListItemAvatarClassKey = 'root' | 'icon';
11
12/**
13 * A simple wrapper to apply `List` styles to an `Avatar`.
14 * Demos:
15 *
16 * - [Lists](https://mui.com/components/lists/)
17 *
18 * API:
19 *
20 * - [ListItemAvatar API](https://mui.com/api/list-item-avatar/)
21 */
22export default function ListItemAvatar(props: ListItemAvatarProps): JSX.Element;