import * as React from 'react'; import { ButtonBaseTypeMap, ExtendButtonBase, ExtendButtonBaseTypeMap } from '../ButtonBase'; import { OverrideProps } from '../OverridableComponent'; /** * @deprecated use `StepButtonProps['icon']` instead */ export type StepButtonIcon = React.ReactNode; export type StepButtonTypeMap = ExtendButtonBaseTypeMap<{ props: P & { /** * 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?: { /** 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 `ButtonBase` touch-ripple. */ touchRipple?: string; }; /** * The icon displayed by the step label. */ icon?: React.ReactNode; /** * The optional node to display. */ optional?: React.ReactNode; }; defaultComponent: D; ignoredProps: 'disabled'; }>; /** * * Demos: * * - [Steppers](https://material-ui.com/components/steppers/) * * API: * * - [StepButton API](https://material-ui.com/api/step-button/) * - inherits [ButtonBase API](https://material-ui.com/api/button-base/) */ declare const StepButton: ExtendButtonBase>; export type StepButtonClasskey = keyof NonNullable; export type StepButtonProps< D extends React.ElementType = ButtonBaseTypeMap['defaultComponent'], P = {} > = OverrideProps, D>; export default StepButton;