SpeedDialIcon API
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
Propriedades do componente nativo também estão disponíveis.
| 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 | 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 | .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 openIconis provided and ifopen={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.