mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-02 03:59:01 +08:00
parent
0e8e2b53e4
commit
7faae1ada5
@ -18,8 +18,15 @@ export interface StepsProps {
|
||||
style?: React.CSSProperties;
|
||||
}
|
||||
|
||||
export interface StepProps {
|
||||
description?: React.ReactNode;
|
||||
icon?: React.ReactNode;
|
||||
status?: 'wait' | 'process' | 'finish' | 'error';
|
||||
title?: React.ReactNode;
|
||||
}
|
||||
|
||||
export default class Steps extends React.Component<StepsProps, any> {
|
||||
static Step = RcSteps.Step;
|
||||
static Step = RcSteps.Step as React.ClassicComponentClass<StepProps>;
|
||||
|
||||
static defaultProps = {
|
||||
current: 0,
|
||||
|
Loading…
Reference in New Issue
Block a user