SpeedDialAction API
Importação
import SpeedDialAction from '@mui/material/SpeedDialAction';
// ou
import { SpeedDialAction } from '@mui/material';Nome do componente
The nameMuiSpeedDialAction can be used when providing default props or style overrides in the theme.Propriedades
Propriedades do componente Tooltip 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. | |
| delay | number | 0 | Adds a transition delay, to allow a series of SpeedDialActions to be animated. | 
| FabProps | object | {} | Props applied to the  Fabcomponent. | 
| icon | node | The Icon to display in the SpeedDial Fab. | |
| id | string | This prop is used to help implement the accessibility logic. If you don't provide this prop. It falls back to a randomly generated id. | |
| open | bool | false | Control the popup` open state. | 
| 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. | |
| TooltipClasses | object | classesprop applied to theTooltipelement. | |
| tooltipOpen | bool | false | Make the tooltip always visible when the SpeedDial is open. | 
| tooltipPlacement | 'bottom-end' | 'bottom-start' | 'bottom' | 'left-end' | 'left-start' | 'left' | 'right-end' | 'right-start' | 'right' | 'top-end' | 'top-start' | 'top' | 'left' | Placement of the tooltip. | 
| tooltipTitle | node | Label to display in the tooltip. | 
O
ref é encaminhado para o elemento raiz.Herança
While not explicitly documented above, the props of the Tooltip component are also available on SpeedDialAction. You can take advantage of this to target nested components.CSS
| Nome da regra | Classe global | Descrição | 
|---|---|---|
| fab | .MuiSpeedDialAction-fab | Estilos aplicados a the Fab component. | 
| fabClosed | .MuiSpeedDialAction-fabClosed | Estilos aplicados para the Fab component se open={false}. | 
| staticTooltip | .MuiSpeedDialAction-staticTooltip | Estilos aplicados para o elemento raiz se tooltipOpen={true}. | 
| staticTooltipClosed | .MuiSpeedDialAction-staticTooltipClosed | Estilos aplicados para o elemento raiz se tooltipOpen={true}andopen={false}. | 
| staticTooltipLabel | .MuiSpeedDialAction-staticTooltipLabel | Estilos aplicados para the static tooltip label se tooltipOpen={true}. | 
| tooltipPlacementLeft | .MuiSpeedDialAction-tooltipPlacementLeft | Styles applied to the root element if `tooltipOpen={true}` and `tooltipPlacement="left"`` | 
| tooltipPlacementRight | .MuiSpeedDialAction-tooltipPlacementRight | Styles applied to the root element if `tooltipOpen={true}` and `tooltipPlacement="right"`` | 
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.