1 | import * as React from 'react';
|
2 | import { StandardProps } from '..';
|
3 |
|
4 | export interface StepIconProps
|
5 | extends StandardProps<React.HTMLAttributes<HTMLDivElement>, StepIconClasskey, 'children'> {
|
6 | |
7 |
|
8 |
|
9 | active?: boolean;
|
10 | |
11 |
|
12 |
|
13 | completed?: boolean;
|
14 | |
15 |
|
16 |
|
17 | error?: boolean;
|
18 | |
19 |
|
20 |
|
21 | icon: React.ReactNode;
|
22 | }
|
23 |
|
24 | export type StepIconClasskey = 'root' | 'text' | 'active' | 'completed' | 'error';
|
25 |
|
26 |
|
27 |
|
28 |
|
29 |
|
30 |
|
31 |
|
32 |
|
33 |
|
34 |
|
35 |
|
36 | export default function StepIcon(props: StepIconProps): JSX.Element;
|