Pular para o conteúdo

ListItemSecondaryAction API

Documentação da API para o componente React ListItemSecondaryAction . Aprenda sobre as propriedades disponíveis e a API CSS.

Demonstrações

For examples and details on the usage of this React component, visit the component demo pages:

Importação

import ListItemSecondaryAction from '@mui/material/ListItemSecondaryAction';
// ou
import { ListItemSecondaryAction } from '@mui/material';
Você pode aprender sobre a diferença lendo este guia sobre como minimizar o tamanho do pacote.

Must be used as the last child of ListItem to function properly.

Nome do componente

The name MuiListItemSecondaryAction can be used when providing default props or style overrides in the theme.

Propriedades

Propriedades do componente nativo também estão disponíveis.

NomeTipoPadrãoDescrição
childrennode
The content of the component, normally an IconButton or selection control.
classesobject
Sobrescreve ou extende os estilos aplicados para o componente. Veja a API CSS abaixo para maiores detalhes.
sxArray<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 regraClasse globalDescrição
root.MuiListItemSecondaryAction-rootEstilos aplicados ao elemento raiz.
disableGutters.MuiListItemSecondaryAction-disableGuttersStyles applied to o elemento raiz when the parent ListItem has disableGutters={true}.

Você pode sobrescrever o estilo do componente usando uma dessas opções de customização: