tdesign-miniprogram
Version:
tdesign-miniprogram
41 lines (40 loc) • 968 B
TypeScript
export interface TdProgressProps {
color?: {
type: null;
value?: string | Array<string> | Record<string, string>;
};
style?: {
type: StringConstructor;
value?: string;
};
externalClasses?: {
type: ArrayConstructor;
value?: ['t-class', 't-class-bar', 't-class-label'];
};
label?: {
type: null;
value?: string | boolean;
};
percentage?: {
type: NumberConstructor;
value?: number;
};
status?: {
type: StringConstructor;
value?: StatusEnum;
};
strokeWidth?: {
type: null;
value?: string | number;
};
theme?: {
type: StringConstructor;
value?: ThemeEnum;
};
trackColor?: {
type: StringConstructor;
value?: string;
};
}
export declare type StatusEnum = 'success' | 'error' | 'warning' | 'active';
export declare type ThemeEnum = 'line' | 'plump' | 'circle';