props.d.ts 590 B

123456789101112131415161718192021222324
  1. import { IBaseProps } from '../_util/base';
  2. /**
  3. * @description 步骤条,分步展示当前进展
  4. */
  5. export interface IStepsProps extends IBaseProps {
  6. /**
  7. * @description 当前步骤
  8. */
  9. current: number;
  10. /**
  11. * @description 方向
  12. */
  13. direction: 'horizontal' | 'vertical';
  14. /**
  15. * @description 状态
  16. */
  17. status: 'finish' | 'error';
  18. items?: {
  19. title: string;
  20. description: string;
  21. }[];
  22. }
  23. export declare const StepsDefaultProps: Partial<IStepsProps>;
  24. export declare const StepsFunctionalProps: Partial<IStepsProps>;