@mui/material
Version:
Quickly build beautiful React apps. MUI is a simple and customizable component library to build faster, beautiful, and more accessible React applications. Follow your own design system, or start with Material Design.
32 lines (29 loc) • 910 B
TypeScript
import { SxProps } from '@mui/system';
import { InternalStandardProps as StandardProps, Theme } from '..';
import { ListItemAvatarClasses } from './listItemAvatarClasses';
export interface ListItemAvatarProps extends StandardProps<React.HTMLAttributes<HTMLDivElement>> {
/**
* The content of the component, normally an `Avatar`.
*/
children?: React.ReactNode;
/**
* Override or extend the styles applied to the component.
*/
classes?: Partial<ListItemAvatarClasses>;
/**
* The system prop that allows defining system overrides as well as additional CSS styles.
*/
sx?: SxProps<Theme>;
}
/**
* A simple wrapper to apply `List` styles to an `Avatar`.
*
* Demos:
*
* - [Lists](https://mui.com/components/lists/)
*
* API:
*
* - [ListItemAvatar API](https://mui.com/api/list-item-avatar/)
*/
export default function ListItemAvatar(props: ListItemAvatarProps): JSX.Element;