@mui/material
Version:
Material UI is an open-source React component library that implements Google's Material Design. It's comprehensive and can be used in production out of the box.
30 lines (29 loc) • 944 B
TypeScript
import { SxProps } from '@mui/system';
import { InternalStandardProps as StandardProps, Theme } from "../index.js";
import { ListItemAvatarClasses } from "./listItemAvatarClasses.js";
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/material-ui/react-list/)
*
* API:
*
* - [ListItemAvatar API](https://mui.com/material-ui/api/list-item-avatar/)
*/
export default function ListItemAvatar(props: ListItemAvatarProps): React.JSX.Element;