ant-design-vue/types/steps/step.d.ts

37 lines
1.0 KiB
TypeScript

// Project: https://github.com/vueComponent/ant-design-vue
// Definitions by: akki-jat <https://github.com/akki-jat>
// Definitions: https://github.com/vueComponent/ant-design-vue/types
import { AntdComponent, AntdProps } from '../component';
import { VNodeChild } from 'vue';
export declare class Step extends AntdComponent {
$props: AntdProps & {
/**
* description of the step, optional property
* @type any (string | slot)
*/
description?: VNodeChild | JSX.Element;
/**
* icon of the step, optional property
* @type any (string | slot)
*/
icon?: VNodeChild | JSX.Element;
/**
* to specify the status. It will be automatically set by current of Steps if not configured. Optional values are: wait process finish error
* @default 'wait'
* @type string
*/
status?: 'wait' | 'process' | 'finish' | 'error';
/**
* title of the step
* @type any (string | slot)
*/
title?: VNodeChild | JSX.Element;
disabled?: boolean;
subTitle?: VNodeChild | JSX.Element;
};
}