import * as React from 'react'; import { SxProps } from '@mui/system'; import { ButtonBaseTypeMap, ExtendButtonBase, ExtendButtonBaseTypeMap } from "../ButtonBase/index.js"; import { OverrideProps } from "../OverridableComponent/index.js"; import { Theme } from "../styles/index.js"; import { StepButtonClasses } from "./stepButtonClasses.js"; export interface StepButtonOwnProps { /** * Can be a `StepLabel` or a node to place inside `StepLabel` as children. */ children?: React.ReactNode; /** * Override or extend the styles applied to the component. */ classes?: Partial; /** * The icon displayed by the step label. */ icon?: React.ReactNode; /** * The optional node to display. */ optional?: React.ReactNode; /** * The system prop that allows defining system overrides as well as additional CSS styles. */ sx?: SxProps; } export type StepButtonTypeMap = ExtendButtonBaseTypeMap<{ props: AdditionalProps & StepButtonOwnProps; defaultComponent: RootComponent; ignoredProps: 'disabled'; }>; /** * * Demos: * * - [Stepper](https://mui.com/material-ui/react-stepper/) * * API: * * - [StepButton API](https://mui.com/material-ui/api/step-button/) * - inherits [ButtonBase API](https://mui.com/material-ui/api/button-base/) */ declare const StepButton: ExtendButtonBase>; export type StepButtonClasskey = keyof NonNullable; export type StepButtonProps = OverrideProps, RootComponent> & { component?: React.ElementType; }; export default StepButton;