ListItemAvatar API
Importação
import ListItemAvatar from '@mui/material/ListItemAvatar';
// ou
import { ListItemAvatar } from '@mui/material';A simple wrapper to apply List styles to an Avatar.
Nome do componente
The nameMuiListItemAvatar can be used when providing default props or style overrides in the theme.Propriedades
Propriedades do componente nativo também estão disponíveis.
| Nome | Tipo | Padrão | Descrição | 
|---|---|---|---|
| children | node | The content of the component – normally  Avatar. | |
| classes | object | Sobrescreve ou extende os estilos aplicados para o componente. Veja a API CSS abaixo para maiores detalhes. | |
| sx | Array<func | object | bool> | func | object | The system prop that allows defining system overrides as well as additional CSS styles. See the `sx` page for more details. | 
O
ref é encaminhado para o elemento raiz.CSS
| Nome da regra | Classe global | Descrição | 
|---|---|---|
| root | .MuiListItemAvatar-root | Estilos aplicados ao elemento raiz. | 
| alignItemsFlexStart | .MuiListItemAvatar-alignItemsFlexStart | Styles applied to o elemento raiz when the parent ListItemusesalignItems="flex-start". | 
Você pode sobrescrever o estilo do componente usando uma dessas opções de customização:
- With a global class name.
- With a rule name as part of the component's styleOverridesproperty in a custom theme.