2024-12-01 11:56:54 +00:00
|
|
|
|
import { IBaseProps } from '../_util/base';
|
2024-11-10 07:01:22 +00:00
|
|
|
|
/**
|
|
|
|
|
* @description 步骤条,分步展示当前进展
|
|
|
|
|
*/
|
|
|
|
|
export interface IStepsProps extends IBaseProps {
|
2024-12-01 11:56:54 +00:00
|
|
|
|
/**
|
|
|
|
|
* @description 当前步骤
|
|
|
|
|
*/
|
|
|
|
|
current: number;
|
|
|
|
|
/**
|
|
|
|
|
* @description 方向
|
|
|
|
|
*/
|
|
|
|
|
direction: 'horizontal' | 'vertical';
|
|
|
|
|
/**
|
|
|
|
|
* @description 状态
|
|
|
|
|
*/
|
|
|
|
|
status: 'finish' | 'error';
|
|
|
|
|
items?: {
|
|
|
|
|
title: string;
|
|
|
|
|
description: string;
|
|
|
|
|
}[];
|
2024-11-10 07:01:22 +00:00
|
|
|
|
}
|
|
|
|
|
export declare const StepsDefaultProps: Partial<IStepsProps>;
|
2024-12-01 11:56:54 +00:00
|
|
|
|
export declare const StepsFunctionalProps: Partial<IStepsProps>;
|