ImageListItemBar API
Documentação da API para o componente React ImageListItemBar . Aprenda sobre as propriedades disponíveis e a API CSS.
Importação
import ImageListItemBar from '@mui/material/ImageListItemBar';
// ou
import { ImageListItemBar } from '@mui/material';Nome do componente
The nameMuiImageListItemBar 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 |
|---|---|---|---|
| actionIcon | node | An IconButton element to be used as secondary action target (primary action target is the item itself). | |
| actionPosition | 'left' | 'right' | 'right' | Position of secondary action IconButton. |
| classes | object | Sobrescreve ou extende os estilos aplicados para o componente. Veja a API CSS abaixo para maiores detalhes. | |
| position | 'below' | 'bottom' | 'top' | 'bottom' | Position of the title bar. |
| subtitle | node | String or element serving as subtitle (support text). | |
| 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. | |
| title | node | Title to be displayed. |
O
ref é encaminhado para o elemento raiz.CSS
| Nome da regra | Classe global | Descrição |
|---|---|---|
| root | .MuiImageListItemBar-root | Estilos aplicados ao elemento raiz. |
| positionBottom | .MuiImageListItemBar-positionBottom | Estilos aplicados para o elemento raiz se position="bottom". |
| positionTop | .MuiImageListItemBar-positionTop | Estilos aplicados para o elemento raiz se position="top". |
| positionBelow | .MuiImageListItemBar-positionBelow | Estilos aplicados para o elemento raiz se position="below". |
| titleWrap | .MuiImageListItemBar-titleWrap | Estilos aplicados a the title and subtitle container element. |
| titleWrapBelow | .MuiImageListItemBar-titleWrapBelow | Estilos aplicados para the title and subtitle container element se position="below". |
| titleWrapActionPosLeft | .MuiImageListItemBar-titleWrapActionPosLeft | Estilos aplicados para the container element se actionPosition="left". |
| titleWrapActionPosRight | .MuiImageListItemBar-titleWrapActionPosRight | Estilos aplicados para the container element se actionPosition="right". |
| title | .MuiImageListItemBar-title | Estilos aplicados a the title container element. |
| subtitle | .MuiImageListItemBar-subtitle | Estilos aplicados a the subtitle container element. |
| actionIcon | .MuiImageListItemBar-actionIcon | Estilos aplicados para the actionIcon se supplied. |
| actionIconActionPosLeft | .MuiImageListItemBar-actionIconActionPosLeft | Estilos aplicados para the actionIcon se actionPosition="left". |
Você pode sobrescrever o estilo do componente usando uma dessas opções de customização:
- Com um nome de classe global.
- Com um nome de regra como parte da propriedade
styleOverridesdo componente em um tema personalizado.