个人消息

This commit is contained in:
limqhz
2022-12-14 19:39:14 +08:00
parent c2fa413fea
commit 574e7c8ac1
39 changed files with 1745 additions and 24 deletions

63
components/steps/type.d.ts vendored Normal file
View File

@@ -0,0 +1,63 @@
export interface TdStepsProps {
current?: {
type: StringConstructor;
optionalTypes: Array<NumberConstructor>;
value?: string | number;
};
defaultCurrent?: {
type: StringConstructor;
optionalTypes: Array<NumberConstructor>;
value?: string | number;
};
currentStatus?: {
type: StringConstructor;
value?: 'default' | 'process' | 'finish' | 'error';
};
externalClasses?: {
type: ArrayConstructor;
value?: ['t-class'];
};
layout?: {
type: StringConstructor;
value?: 'horizontal' | 'vertical';
};
readonly?: {
type: BooleanConstructor;
value?: boolean;
};
theme?: {
type: StringConstructor;
value?: 'default' | 'dot';
};
}
export interface TdStepItemProps {
content?: {
type: StringConstructor;
value?: string;
};
externalClasses?: {
type: ArrayConstructor;
value?: ['t-class', 't-class-content', 't-class-title', 't-class-description', 't-class-extra'];
};
icon?: {
type: StringConstructor;
value?: string;
};
status?: {
type: StringConstructor;
value?: StepStatus;
};
subStepItems?: {
type: ArrayConstructor;
value?: SubStepItem[];
};
title?: {
type: StringConstructor;
value?: string;
};
}
export declare type StepStatus = 'default' | 'process' | 'finish' | 'error';
export interface SubStepItem {
status: StepStatus;
title: string;
}