SpeedDialIcon API
Documentação da API para o componente React SpeedDialIcon . Aprenda sobre as propriedades disponíveis e a API CSS.
Importação
import SpeedDialIcon from '@mui/material/SpeedDialIcon';
// ou
import { SpeedDialIcon } from '@mui/material';Nome do componente
The nameMuiSpeedDialIcon can be used when providing default props or style overrides in the theme.Propriedades
Props of the nativo component are also available.
| Nome | Tipo | Padrão | Descrição |
|---|---|---|---|
| classes | object | Sobrescreve ou extende os estilos aplicados para o componente. Veja a API CSS abaixo para maiores detalhes. | |
| icon | node | The icon element. | |
| openIcon | node | The icon to display in the SpeedDial Floating Action Button when the SpeedDial is open. | |
| sx | 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 | .MuiSpeedDialIcon-root | Estilos aplicados ao elemento raiz. |
| icon | .MuiSpeedDialIcon-icon | Estilos aplicados a the icon component. |
| iconOpen | .MuiSpeedDialIcon-iconOpen | Estilos aplicados para the icon component se open={true}. |
| iconWithOpenIconOpen | .MuiSpeedDialIcon-iconWithOpenIconOpen | Styles applied to the icon when an openIcon is provided and if open={true}. |
| openIcon | .MuiSpeedDialIcon-openIcon | Estilos aplicados para the `openIcon` se fornecido. |
| openIconOpen | .MuiSpeedDialIcon-openIconOpen | Estilos aplicados para the `openIcon` se provided and if open={true}. |
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.