import * as React from 'react'; import { OverrideProps } from '@mui/types'; import { SxProps } from '../styles/types'; import { SlotProps, CreateSlotsAndSlotProps } from '../utils/types'; export type StepButtonSlot = 'root'; export interface StepButtonSlots { /** * The component that renders the root. * @default 'button' */ root?: React.ElementType; } export type StepButtonSlotsAndSlotProps = CreateSlotsAndSlotProps; }>; export interface StepButtonTypeMap

{ props: P & { /** * Used to render icon or text elements inside the StepButton if `src` is not set. * This can be an element, or just a string. */ children?: React.ReactNode; /** * The system prop that allows defining system overrides as well as additional CSS styles. */ sx?: SxProps; } & StepButtonSlotsAndSlotProps; defaultComponent: D; } export type StepButtonProps = OverrideProps, D>; export interface StepButtonOwnerState extends StepButtonProps { }