import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; import generateUtilityClass from '../generateUtilityClass'; export interface StepClasses { /** Styles applied to the root element. */ root: string; /** Styles applied to the root element if `orientation="horizontal"`. */ horizontal: string; /** Styles applied to the root element if `orientation="vertical"`. */ vertical: string; /** Styles applied to the root element if `alternativeLabel={true}`. */ alternativeLabel: string; /** State class applied to the root element if `completed={true}`. */ completed: string; } export type StepClassKey = keyof StepClasses; export function getStepUtilityClass(slot: string): string { return generateUtilityClass('MuiStep', slot); } const stepClasses: StepClasses = generateUtilityClasses('MuiStep', [ 'root', 'horizontal', 'vertical', 'alternativeLabel', 'completed', ]); export default stepClasses;