StepButton API
Importação
import StepButton from '@mui/material/StepButton';
// ou
import { StepButton } from '@mui/material';Nome do componente
The nameMuiStepButton can be used when providing default props or style overrides in the theme.Propriedades
Propriedades do componente ButtonBase também estão disponíveis.
| Nome | Tipo | Padrão | Descrição | 
|---|---|---|---|
| children | node | Can be a  StepLabelor a node to place insideStepLabelas children. | |
| classes | object | Sobrescreve ou extende os estilos aplicados para o componente. Veja a API CSS abaixo para maiores detalhes. | |
| icon | node | The icon displayed by the step label. | |
| optional | node | The optional node to display. | |
| 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.Herança
While not explicitly documented above, the props of the ButtonBase component are also available on StepButton. You can take advantage of this to target nested components.CSS
| Nome da regra | Classe global | Descrição | 
|---|---|---|
| root | .MuiStepButton-root | Estilos aplicados ao elemento raiz. | 
| horizontal | .MuiStepButton-horizontal | Estilos aplicados para o elemento raiz se orientation="horizontal". | 
| vertical | .MuiStepButton-vertical | Estilos aplicados para o elemento raiz se orientation="vertical". | 
| touchRipple | .MuiStepButton-touchRipple | Estilos aplicados a the `ButtonBase` touch-ripple. | 
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.