1 | import * as React from 'react';
|
2 | import { SxProps } from '@mui/system';
|
3 | import { InternalStandardProps as StandardProps } from '..';
|
4 | import { Theme } from '../styles';
|
5 | import { StepIconClasses } from './stepIconClasses';
|
6 |
|
7 | export interface StepIconProps
|
8 | extends StandardProps<React.HTMLAttributes<HTMLDivElement>, 'children'> {
|
9 | |
10 |
|
11 |
|
12 |
|
13 | active?: boolean;
|
14 | |
15 |
|
16 |
|
17 | classes?: Partial<StepIconClasses>;
|
18 | |
19 |
|
20 |
|
21 |
|
22 | completed?: boolean;
|
23 | |
24 |
|
25 |
|
26 |
|
27 | error?: boolean;
|
28 | |
29 |
|
30 |
|
31 | icon: React.ReactNode;
|
32 | |
33 |
|
34 |
|
35 | sx?: SxProps<Theme>;
|
36 | }
|
37 |
|
38 | export type StepIconClasskey = keyof NonNullable<StepIconProps['classes']>;
|
39 |
|
40 |
|
41 |
|
42 |
|
43 |
|
44 |
|
45 |
|
46 |
|
47 |
|
48 |
|
49 |
|
50 | export default function StepIcon(props: StepIconProps): React.JSX.Element;
|