Step API
Importação
import Step from '@mui/material/Step';
// ou
import { Step } from '@mui/material';Nome do componente
The nameMuiStep 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 | 
|---|---|---|---|
| active | bool | false | Sets the step as active. Is passed to child components. | 
| children | node | Should be  Stepsub-components such asStepLabel,StepContent. | |
| classes | object | Sobrescreve ou extende os estilos aplicados para o componente. Veja a API CSS abaixo para maiores detalhes. | |
| completed | bool | false | Mark the step as completed. Is passed to child components. | 
| component | elementType | ||
| disabled | bool | false | Mark the step as disabled, will also disable the button if  StepButtonis a child ofStep. Is passed to child components. | 
| expanded | bool | false | Expand the step. | 
| index | integer | The position of the step. The prop defaults to the value inherited from the parent Stepper component. | |
| last | bool | false | If  true, the Step is displayed as rendered last. The prop defaults to the value inherited from the parent Stepper component. | 
| 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 | .MuiStep-root | Estilos aplicados ao elemento raiz. | 
| horizontal | .MuiStep-horizontal | Estilos aplicados para o elemento raiz se orientation="horizontal". | 
| vertical | .MuiStep-vertical | Estilos aplicados para o elemento raiz se orientation="vertical". | 
| alternativeLabel | .MuiStep-alternativeLabel | Estilos aplicados para o elemento raiz se alternativeLabel={true}. | 
| completed | .Mui-completed | Pseudo-class aplicada a o elemento raiz se completed={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.